All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lib/iomap.c:bad_io_access() -- print 0x hex prefix
@ 2007-09-15 17:49 Rene Herman
  0 siblings, 0 replies; only message in thread
From: Rene Herman @ 2007-09-15 17:49 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 61 bytes --]

Hi Andrew.

Trivial -- be explicit about printing hex.

Rene

[-- Attachment #2: bad_io_access-hex.diff --]
[-- Type: text/plain, Size: 404 bytes --]

diff --git a/lib/iomap.c b/lib/iomap.c
index a57d262..5dfcbde 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);
 	}
 }

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-15 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-15 17:49 [PATCH] lib/iomap.c:bad_io_access() -- print 0x hex prefix Rene Herman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.