[PATCH] of: fdt: fix "Cound" typo in fdt_translate_address()

Hemanth Selam posted 1 patch 2 weeks, 2 days ago
drivers/of/fdt_address.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] of: fdt: fix "Cound" typo in fdt_translate_address()
Posted by Hemanth Selam 2 weeks, 2 days ago
The comment above the count_cells() call reads "Cound address cells"
where it should read "Count address cells", which is what the call below
it does.

Comment only, no functional change.

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

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
Re: [PATCH] of: fdt: fix "Cound" typo in fdt_translate_address()
Posted by Rob Herring 1 week, 3 days ago
On Wed, Sep 09, 2026 at 06:05:01PM +0530, Hemanth Selam wrote:
> The comment above the count_cells() call reads "Cound address cells"
> where it should read "Count address cells", which is what the call below
> it does.
> 
> Comment only, no functional change.
> 
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
>  drivers/of/fdt_address.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!

Rob