Commit 078dee2d authored by Kulikov Vasiliy's avatar Kulikov Vasiliy Committed by Greg Kroah-Hartman

serial: crisv10: formatting of pointers in printk()

Use %p instead of %08x in printk().
Signed-off-by: default avatarKulikov Vasiliy <segooon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 75e0b946
...@@ -4533,8 +4533,8 @@ static int __init rs_init(void) ...@@ -4533,8 +4533,8 @@ static int __init rs_init(void)
INIT_WORK(&info->work, do_softint); INIT_WORK(&info->work, do_softint);
if (info->enabled) { if (info->enabled) {
printk(KERN_INFO "%s%d at 0x%x is a builtin UART with DMA\n", printk(KERN_INFO "%s%d at %p is a builtin UART with DMA\n",
serial_driver->name, info->line, (unsigned int)info->ioport); serial_driver->name, info->line, info->ioport);
} }
} }
#ifdef CONFIG_ETRAX_FAST_TIMER #ifdef CONFIG_ETRAX_FAST_TIMER
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment