All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 08/11] serial: crisv10: formatting of pointers in printk()
@ 2010-07-14 18:04 ` Kulikov Vasiliy
  0 siblings, 0 replies; 4+ messages in thread
From: Kulikov Vasiliy @ 2010-07-14 18:04 UTC (permalink / raw)
  To: kernel-janitors
  Cc: Greg Kroah-Hartman, Arnd Bergmann, Jesper Nilsson, Ingo Molnar,
	linux-kernel

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

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
---
 drivers/serial/crisv10.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c
index ca47072..1be395a 100644
--- a/drivers/serial/crisv10.c
+++ b/drivers/serial/crisv10.c
@@ -4522,8 +4522,8 @@ static int __init rs_init(void)
 		INIT_WORK(&info->work, do_softint);
 
 		if (info->enabled) {
-			printk(KERN_INFO "%s%d at 0x%x is a builtin UART with DMA\n",
-			       serial_driver->name, info->line, (unsigned int)info->ioport);
+			printk(KERN_INFO "%s%d at %p is a builtin UART with DMA\n",
+			       serial_driver->name, info->line, info->ioport);
 		}
 	}
 #ifdef CONFIG_ETRAX_FAST_TIMER
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-30 17:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-14 18:04 [PATCH 08/11] serial: crisv10: formatting of pointers in printk() Kulikov Vasiliy
2010-07-14 18:04 ` Kulikov Vasiliy
2010-07-30 17:31 ` [PATCH 08/11] serial: crisv10: formatting of pointers in Jesper Nilsson
2010-07-30 17:31   ` [PATCH 08/11] serial: crisv10: formatting of pointers in printk() Jesper Nilsson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.