projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75e0b94
)
serial: crisv10: formatting of pointers in printk()
author
Kulikov Vasiliy
<segooon@gmail.com>
Wed, 14 Jul 2010 18:04:42 +0000
(22:04 +0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 10 Aug 2010 20:47:44 +0000
(13:47 -0700)
Use %p instead of %08x in printk().
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/crisv10.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/crisv10.c
b/drivers/serial/crisv10.c
index 5696710b6f2dd133e69fc42f1ad0e117d48a9af5..c856905bb3bdfc3105ac5eff30de5aad2160c265 100644
(file)
--- a/
drivers/serial/crisv10.c
+++ b/
drivers/serial/crisv10.c
@@
-4533,8
+4533,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