Skip to contentSkip to conversation

of: fdt: fix "Cound" typo in fdt_translate_address()

PATCH Applied Hemanth Selam 2 participants 2 messages Sep 9 – Sep 15 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 of: fdt: fix "Cound" typo in fdt_translate_address()

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
---
 drivers/of/fdt_address.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/fdt_address.c +1 -1
index f358d2c80754..2e4e46a58cb6 100644
@@ -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",
Signature · 1 line
2.48.1
maintainer Applied
#1 lore raw
Quoted 11 lines · Hemanth Selam

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
---
 drivers/of/fdt_address.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!

Rob