提交 debe6214 编写于 作者: R Rene Herman 提交者: Linus Torvalds

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

Be explicit about printing hex.
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 80eb68d2
......@@ -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);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册