[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1279130541-10817-1-git-send-email-segooon@gmail.com>
Date: Wed, 14 Jul 2010 22:02:21 +0400
From: Kulikov Vasiliy <segooon@...il.com>
To: kernel-janitors@...r.kernel.org
Cc: Chris Zankel <chris@...kel.net>, Pete Delaney <piet@...silica.com>,
Dan Nicolaescu <dann@...nsa-linux.org>,
Marc Gauthier <marc@...silica.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 04/11] xtavnet/setup.c: formatting of pointers in printk()
Use %p instead of %08x in printk().
Signed-off-by: Kulikov Vasiliy <segooon@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists