mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
lib/iomap.c:bad_io_access(): print 0x hex prefix
Be explicit about printing hex. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
80eb68d238
commit
debe621468
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user