serial: crisv10: formatting of pointers in printk()
PATCH 8/11 serial: crisv10: formatting of pointers in printk()
Use %p instead of %08x in printk().
Signed-off-by Kulikov Vasiliy <[email protected]>
--- drivers/serial/crisv10.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/serial/crisv10.c +2 -2
@@ -4522,8 +4522,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
Signature · 1 line
1.7.0.4
Quoted 3 lines · Kulikov Vasiliy
Use %p instead of %08x in
printk().Signed-off-by Kulikov Vasiliy <[email protected]>
Acked-by Jesper Nilsson <[email protected]>
/^JN - Jesper Nilsson
Signature · 1 line
Jesper Nilsson -- [email protected]