Devicetree
 help / color / mirror / Atom feed
* [PATCH] of: fix typos in comments
@ 2026-09-07  6:20 Hemanth Selam
  2026-09-08 13:12 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Hemanth Selam @ 2026-09-07  6:20 UTC (permalink / raw)
  To: Rob Herring, Saravana Kannan; +Cc: devicetree, linux-kernel

Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 drivers/of/base.c        | 2 +-
 drivers/of/fdt_address.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index d71ae0449360..9e249286be71 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -700,7 +700,7 @@ static struct device_node *__of_get_next_child(const struct device_node *node,
 	     child = __of_get_next_child(parent, child))
 
 /**
- * of_get_next_child - Iterate a node childs
+ * of_get_next_child - Iterate a node children
  * @node:	parent node
  * @prev:	previous child of the parent node, or NULL to get first
  *
diff --git a/drivers/of/fdt_address.c b/drivers/of/fdt_address.c
index f358d2c80754..2e4e46a58cb6 100644
--- a/drivers/of/fdt_address.c
+++ b/drivers/of/fdt_address.c
@@ -172,7 +172,7 @@ static u64 __init fdt_translate_address(const void *blob, int node_offset)
 		goto bail;
 	bus = &of_busses[0];
 
-	/* Cound address cells & copy address locally */
+	/* Count address cells & copy address locally */
 	bus->count_cells(blob, parent, &na, &ns);
 	if (!OF_CHECK_COUNTS(na, ns)) {
 		pr_err("Bad cell count for %s\n",
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] of: fix typos in comments
  2026-09-07  6:20 [PATCH] of: fix typos in comments Hemanth Selam
@ 2026-09-08 13:12 ` Rob Herring
  2026-09-09 12:34   ` Hemanth Selam
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2026-09-08 13:12 UTC (permalink / raw)
  To: Hemanth Selam; +Cc: Saravana Kannan, devicetree, linux-kernel

On Mon, Sep 7, 2026 at 1:20 AM Hemanth Selam <hemanth.selam@gmail.com> wrote:
>
> Fix typos in comments, reported by scripts/checkpatch.pl using the
> misspelling list in scripts/spelling.txt.  Only touches comments, no code
> changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
>  drivers/of/base.c        | 2 +-
>  drivers/of/fdt_address.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/of/base.c b/drivers/of/base.c
> index d71ae0449360..9e249286be71 100644
> --- a/drivers/of/base.c
> +++ b/drivers/of/base.c
> @@ -700,7 +700,7 @@ static struct device_node *__of_get_next_child(const struct device_node *node,
>              child = __of_get_next_child(parent, child))
>
>  /**
> - * of_get_next_child - Iterate a node childs
> + * of_get_next_child - Iterate a node children

Still does not make sense.

Rob

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] of: fix typos in comments
  2026-09-08 13:12 ` Rob Herring
@ 2026-09-09 12:34   ` Hemanth Selam
  0 siblings, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-09 12:34 UTC (permalink / raw)
  To: robh; +Cc: saravanak, devicetree, linux-kernel

On Tue, Sep 08, 2026 at 08:12:19AM -0500, Rob Herring wrote:
> Still does not make sense.

You are right. "Iterate a node children" is no better than "Iterate a node
childs": I replaced the word checkpatch flagged without fixing the sentence,
which was the actual problem. Dropping this patch.

Thanks for the review.

Hemanth

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-09 12:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-07  6:20 [PATCH] of: fix typos in comments Hemanth Selam
2026-09-08 13:12 ` Rob Herring
2026-09-09 12:34   ` Hemanth Selam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox