diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-07-14 14:04:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 16:47:44 -0400 |
commit | 078dee2d298d003f19203b120b7438beea681e60 (patch) | |
tree | ed213f73b8013287f372375fe5006c2363acfc9f /drivers/serial/crisv10.c | |
parent | 75e0b946cf2fef14236ff999b6d7eacbae2034b0 (diff) |
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>
Diffstat (limited to 'drivers/serial/crisv10.c')
-rw-r--r-- | 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 5696710b6f2d..c856905bb3bd 100644 --- a/drivers/serial/crisv10.c +++ b/drivers/serial/crisv10.c | |||
@@ -4533,8 +4533,8 @@ static int __init rs_init(void) | |||
4533 | INIT_WORK(&info->work, do_softint); | 4533 | INIT_WORK(&info->work, do_softint); |
4534 | 4534 | ||
4535 | if (info->enabled) { | 4535 | if (info->enabled) { |
4536 | printk(KERN_INFO "%s%d at 0x%x is a builtin UART with DMA\n", | 4536 | printk(KERN_INFO "%s%d at %p is a builtin UART with DMA\n", |
4537 | serial_driver->name, info->line, (unsigned int)info->ioport); | 4537 | serial_driver->name, info->line, info->ioport); |
4538 | } | 4538 | } |
4539 | } | 4539 | } |
4540 | #ifdef CONFIG_ETRAX_FAST_TIMER | 4540 | #ifdef CONFIG_ETRAX_FAST_TIMER |