Skip to content

Commit 078dee2

Browse files
segoongregkh
authored andcommitted
serial: crisv10: formatting of pointers in printk()
Use %p instead of %08x in printk(). Signed-off-by: Kulikov Vasiliy <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 75e0b94 commit 078dee2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/serial/crisv10.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4533,8 +4533,8 @@ static int __init rs_init(void)
45334533
INIT_WORK(&info->work, do_softint);
45344534

45354535
if (info->enabled) {
4536-
printk(KERN_INFO "%s%d at 0x%x is a builtin UART with DMA\n",
4537-
serial_driver->name, info->line, (unsigned int)info->ioport);
4536+
printk(KERN_INFO "%s%d at %p is a builtin UART with DMA\n",
4537+
serial_driver->name, info->line, info->ioport);
45384538
}
45394539
}
45404540
#ifdef CONFIG_ETRAX_FAST_TIMER

0 commit comments

Comments
 (0)