diff options
| author | Michael Ellerman <michael@ellerman.id.au> | 2005-08-09 01:20:18 -0400 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2005-08-28 20:53:38 -0400 |
| commit | 145ec7d51ae507c7cc8889ad05e24af05bbd9147 (patch) | |
| tree | d9f9200ea9869a9056839c76ad5f0763e4f91160 | |
| parent | 180a33627d958d5d9d3602dde6ac74b315e136f0 (diff) | |
[PATCH] ppc64: Fix a misleading printk in unflatten_dt_node()
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>
| -rw-r--r-- | arch/ppc64/kernel/prom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/prom.c b/arch/ppc64/kernel/prom.c index 255c39ae1b48..04b852d446a3 100644 --- a/arch/ppc64/kernel/prom.c +++ b/arch/ppc64/kernel/prom.c | |||
| @@ -918,7 +918,7 @@ static unsigned long __init unflatten_dt_node(unsigned long mem, | |||
| 918 | tag = *((u32 *)(*p)); | 918 | tag = *((u32 *)(*p)); |
| 919 | } | 919 | } |
| 920 | if (tag != OF_DT_END_NODE) { | 920 | if (tag != OF_DT_END_NODE) { |
| 921 | printk("Weird tag at start of node: %x\n", tag); | 921 | printk("Weird tag at end of node: %x\n", tag); |
| 922 | return mem; | 922 | return mem; |
| 923 | } | 923 | } |
| 924 | *p += 4; | 924 | *p += 4; |
