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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
75e0b946cf
commit
078dee2d29
@@ -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
|
||||||
|
Reference in New Issue
Block a user