Skip to contentSkip to conversation

xtavnet/setup.c: formatting of pointers in printk()

PATCH Applied Kulikov Vasiliy 1 participant 1 message Jul 14, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/11 xtavnet/setup.c: formatting of pointers in printk()

Use %p instead of %08x in printk().

---
 arch/xtensa/platforms/xtavnet/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/xtensa/platforms/xtavnet/setup.c +1 -1
index 256fcb2..1597dbf 100644
@@ -213,7 +213,7 @@ void platform_init(bp_tag_t *bootparams)
 {
 	printk("\n");
 	if( bootparams )
-		printk("XTAVnet: platform_init(bootparams:0x%x)\n", (unsigned)bootparams);
+		printk("XTAVnet: platform_init(bootparams:%p)\n", bootparams);
 }
 
 static int xtavnet_init(void)
Signature · 1 line
1.7.0.4