From: Rene Herman Date: Wed, 17 Oct 2007 06:29:51 +0000 (-0700) Subject: lib/iomap.c:bad_io_access(): print 0x hex prefix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=debe621468cf54630d360999f6223b50a3efdd0c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git lib/iomap.c:bad_io_access(): print 0x hex prefix Be explicit about printing hex. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/iomap.c b/lib/iomap.c index 864f2ec1966e..72c42687ba10 100644 --- 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); } }