]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ppc64: Fix a misleading printk in unflatten_dt_node()
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 9 Aug 2005 05:20:18 +0000 (15:20 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 29 Aug 2005 00:53:38 +0000 (10:53 +1000)
When unflatten_dt_node() fails to find an OF_DT_END_NODE tag it prints
"Weird tag at start of node", this should be "Weird tag at end of node".

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
 arch/ppc64/kernel/prom.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/prom.c

index 255c39ae1b482ed9450ab1c0752e4c276b09a8f9..04b852d446a3a1ff14a71f80d72a53dd3e574adf 100644 (file)
@@ -918,7 +918,7 @@ static unsigned long __init unflatten_dt_node(unsigned long mem,
                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;