* [PATCH 04/11] xtavnet/setup.c: formatting of pointers in printk()
@ 2010-07-14 18:02 Kulikov Vasiliy
0 siblings, 0 replies; only message in thread
From: Kulikov Vasiliy @ 2010-07-14 18:02 UTC (permalink / raw)
To: kernel-janitors
Cc: Chris Zankel, Pete Delaney, Dan Nicolaescu, Marc Gauthier, linux-kernel
Use %p instead of %08x in printk().
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
---
arch/xtensa/platforms/xtavnet/setup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/xtensa/platforms/xtavnet/setup.c b/arch/xtensa/platforms/xtavnet/setup.c
index 256fcb2..1597dbf 100644
--- a/arch/xtensa/platforms/xtavnet/setup.c
+++ b/arch/xtensa/platforms/xtavnet/setup.c
@@ -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)
--
1.7.0.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-14 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-14 18:02 [PATCH 04/11] xtavnet/setup.c: formatting of pointers in printk() Kulikov Vasiliy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®