[PATCH 2/19] ppc64: Fix a misleading printk in unflatten_dt_node()
Michael Ellerman
michael at ellerman.id.au
Tue Jul 26 18:58:39 EST 2005
When unflatten_dt_node() fails to find an OF_DT_END_NODE tag when scanning
the flat device tree it prints "Weird tag at start of node", this should
be "Weird tag at end of node".
---
arch/ppc64/kernel/prom.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: work/arch/ppc64/kernel/prom.c
===================================================================
--- work.orig/arch/ppc64/kernel/prom.c
+++ work/arch/ppc64/kernel/prom.c
@@ -816,7 +816,7 @@ static unsigned long __init unflatten_dt
tag = *((u32 *)(*p));
}
if (tag != OF_DT_END_NODE) {
- printk("Weird tag at start of node: %x\n", tag);
+ printk("Weird tag at end of node: %x\n", tag);
return mem;
}
*p += 4;
More information about the Linuxppc64-dev
mailing list