From: Kulikov Vasiliy Date: Wed, 14 Jul 2010 18:04:42 +0000 (+0400) Subject: serial: crisv10: formatting of pointers in printk() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=078dee2d298d003f19203b120b7438beea681e60;p=linux-beck.git serial: crisv10: formatting of pointers in printk() Use %p instead of %08x in printk(). Signed-off-by: Kulikov Vasiliy Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c index 5696710b6f2d..c856905bb3bd 100644 --- a/drivers/serial/crisv10.c +++ b/drivers/serial/crisv10.c @@ -4533,8 +4533,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