Commit debe6214 authored by Rene Herman's avatar Rene Herman Committed by Linus Torvalds

lib/iomap.c:bad_io_access(): print 0x hex prefix

Be explicit about printing hex.
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 80eb68d2
...@@ -40,7 +40,7 @@ static void bad_io_access(unsigned long port, const char *access) ...@@ -40,7 +40,7 @@ static void bad_io_access(unsigned long port, const char *access)
static int count = 10; static int count = 10;
if (count) { if (count) {
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); WARN_ON(1);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment