projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62b0a1b
)
TTY: fix decimal printf format specifiers prefixed with 0x
author
Hans Wennborg
<hans@hanshq.net>
Wed, 6 Aug 2014 04:43:42 +0000
(21:43 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 22:51:35 +0000
(15:51 -0700)
The prefix suggests the number should be printed in hex, so use
the %x specifier to do that.
Found by using regex suggested by Joe Perches.
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/moxa.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/moxa.c
b/drivers/tty/moxa.c
index 1deaca4674e4405fb925a50fbd289f3b9b5c74b6..14c54e0410650aa00cf1a3494fd4bb2d151ff089 100644
(file)
--- a/
drivers/tty/moxa.c
+++ b/
drivers/tty/moxa.c
@@
-1096,7
+1096,7
@@
static int __init moxa_init(void)
continue;
}
- printk(KERN_INFO "MOXA isa board found at 0x%.8l
u
and "
+ printk(KERN_INFO "MOXA isa board found at 0x%.8l
x
and "
"ready (%u ports, firmware loaded)\n",
baseaddr[i], brd->numPorts);