summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKulikov Vasiliy <segooon@gmail.com>2010-07-14 22:04:42 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-11 00:47:44 +0400
commit078dee2d298d003f19203b120b7438beea681e60 (patch)
treeed213f73b8013287f372375fe5006c2363acfc9f
parent75e0b946cf2fef14236ff999b6d7eacbae2034b0 (diff)
downloadlinux-078dee2d298d003f19203b120b7438beea681e60.tar.xz
serial: crisv10: formatting of pointers in printk()
Use %p instead of %08x in printk(). Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/serial/crisv10.c4
1 files changed, 2 insertions, 2 deletions
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