x86: Fix build warning in arch/x86/mm/mmio-mod.c
authorJoe Perches <[email protected]>
Mon, 14 Dec 2009 07:24:03 +0000 (23:24 -0800)
committerIngo Molnar <[email protected]>
Mon, 14 Dec 2009 07:55:43 +0000 (08:55 +0100)
Stephen Rothwell reported these warnings:

 arch/x86/mm/mmio-mod.c: In function 'print_pte':
 arch/x86/mm/mmio-mod.c:100: warning: too many arguments for format
 arch/x86/mm/mmio-mod.c:106: warning: too many arguments for format

The 'fmt' was left out accidentally.

Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Joe Perches <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Linus <[email protected]>
LKML-Reference: <1260775443[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/mm/mmio-mod.c

index 4c765e9c466461f2d50aed098adb522acd5bd0b6..34a3291ca1038969be2657ce8cc7e49fd64a4381 100644 (file)
@@ -20,7 +20,7 @@
  * Derived from the read-mod example from relay-examples by Tom Zanussi.
  */
 
-#define pr_fmt(fmt) "mmiotrace: "
+#define pr_fmt(fmt) "mmiotrace: " fmt
 
 #define DEBUG 1