2019-04-16 11:13:07

by Colin King

[permalink] [raw]
Subject: [PATCH] scripts/dtc: fix spelling mistake "endpont" -> "endpoint"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a FAIL message, fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
scripts/dtc/checks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dtc/checks.c b/scripts/dtc/checks.c
index 4834e44b37b2..faddf6a57236 100644
--- a/scripts/dtc/checks.c
+++ b/scripts/dtc/checks.c
@@ -1714,7 +1714,7 @@ static void check_graph_endpoint(struct check *c, struct dt_info *dti,
return;

if (!strprefixeq(node->name, node->basenamelen, "endpoint"))
- FAIL(c, dti, node, "graph endpont node name should be 'endpoint'");
+ FAIL(c, dti, node, "graph endpoint node name should be 'endpoint'");

check_graph_reg(c, dti, node);

--
2.20.1


2019-04-16 13:17:56

by Mukesh Ojha

[permalink] [raw]
Subject: Re: [PATCH] scripts/dtc: fix spelling mistake "endpont" -> "endpoint"


On 4/16/2019 4:42 PM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a FAIL message, fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>

Cheers,
-Mukesh
> ---
> scripts/dtc/checks.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/dtc/checks.c b/scripts/dtc/checks.c
> index 4834e44b37b2..faddf6a57236 100644
> --- a/scripts/dtc/checks.c
> +++ b/scripts/dtc/checks.c
> @@ -1714,7 +1714,7 @@ static void check_graph_endpoint(struct check *c, struct dt_info *dti,
> return;
>
> if (!strprefixeq(node->name, node->basenamelen, "endpoint"))
> - FAIL(c, dti, node, "graph endpont node name should be 'endpoint'");
> + FAIL(c, dti, node, "graph endpoint node name should be 'endpoint'");
>
> check_graph_reg(c, dti, node);
>

2019-04-16 18:18:11

by Frank Rowand

[permalink] [raw]
Subject: Re: [PATCH] scripts/dtc: fix spelling mistake "endpont" -> "endpoint"

Hi Colin,

On 4/16/19 4:12 AM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a FAIL message, fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> scripts/dtc/checks.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/dtc/checks.c b/scripts/dtc/checks.c
> index 4834e44b37b2..faddf6a57236 100644
> --- a/scripts/dtc/checks.c
> +++ b/scripts/dtc/checks.c
> @@ -1714,7 +1714,7 @@ static void check_graph_endpoint(struct check *c, struct dt_info *dti,
> return;
>
> if (!strprefixeq(node->name, node->basenamelen, "endpoint"))
> - FAIL(c, dti, node, "graph endpont node name should be 'endpoint'");
> + FAIL(c, dti, node, "graph endpoint node name should be 'endpoint'");
>
> check_graph_reg(c, dti, node);
>
>

Thanks for catching the error.

This file is imported from an upstream project. The error is fixed upstream in
commit 4762ad051ee0 ("checks: Fix spelling in check_graph_endpoint") in the
devicetree tools project. Rob pulls the changes from this project on a
periodic basis.

-Frank