From: Rene Herman <rene.herman@gmail.com>
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%2Fandroid_kernel_samsung_universal7580.git

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>
---

diff --git a/lib/iomap.c b/lib/iomap.c
index 864f2ec1966..72c42687ba1 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);
 	}
 }