lkml.org 
[lkml]   [2010]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 04/11] xtavnet/setup.c: formatting of pointers in printk()
Date
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


\
 
 \ /
  Last update: 2010-07-14 20:05    [W:0.138 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site