2018-05-15 09:02:53

by Colin King

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

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in FAIL message.

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 a2cc1036c915..9d253819e12c 100644
--- a/scripts/dtc/checks.c
+++ b/scripts/dtc/checks.c
@@ -1536,7 +1536,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.17.0



2018-05-15 20:42:51

by Frank Rowand

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

Hi Colin,

On 05/15/18 02:02, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake in FAIL message.
>
> 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 a2cc1036c915..9d253819e12c 100644
> --- a/scripts/dtc/checks.c
> +++ b/scripts/dtc/checks.c
> @@ -1536,7 +1536,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 this.

We import this file from the upstream dtc project. Please send this same exact patch
to:

David Gibson <[email protected]>
[email protected]

Thanks,

Frank