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:
80eb68d
)
lib/iomap.c:bad_io_access(): print 0x hex prefix
author
Rene Herman
<rene.herman@gmail.com>
Wed, 17 Oct 2007 06:29:51 +0000
(23:29 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:57 +0000
(08:42 -0700)
Be explicit about printing hex.
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/iomap.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/iomap.c
b/lib/iomap.c
index 864f2ec1966ec46fe66d5e30634c28ccf4ea26a8..72c42687ba1095e1357e81a0aa259275dd5cc618 100644
(file)
--- a/
lib/iomap.c
+++ b/
lib/iomap.c
@@
-40,7
+40,7
@@
static void bad_io_access(unsigned long port, const char *access)
static int count = 10;
if (count) {
count--;
- printk(KERN_ERR "Bad IO access at port %lx (%s)\n", port, access);
+ printk(KERN_ERR "Bad IO access at port %
#
lx (%s)\n", port, access);
WARN_ON(1);
}
}