summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-12-13 23:24:03 -0800
committerIngo Molnar <mingo@elte.hu>2009-12-14 08:55:43 +0100
commiteba11d6da7a983cedb0acf32a38e4d0daa8b5d0e (patch)
tree52d4c50e61cab05dd64a6dda96e7c07b503a86ad
parent06f8bda8324fa8bf39eed81d8b3df08063a37696 (diff)
downloadlinux-stable-eba11d6da7a983cedb0acf32a38e4d0daa8b5d0e.tar.gz
linux-stable-eba11d6da7a983cedb0acf32a38e4d0daa8b5d0e.tar.bz2
linux-stable-eba11d6da7a983cedb0acf32a38e4d0daa8b5d0e.zip
x86: Fix build warning in arch/x86/mm/mmio-mod.c
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 <sfr@canb.auug.org.au> Signed-off-by: Joe Perches <joe@perches.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Linus <torvalds@linux-foundation.org> LKML-Reference: <1260775443.18538.16.camel@Joe-Laptop.home> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/mm/mmio-mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/mmio-mod.c b/arch/x86/mm/mmio-mod.c
index 4c765e9c4664..34a3291ca103 100644
--- a/arch/x86/mm/mmio-mod.c
+++ b/arch/x86/mm/mmio-mod.c
@@ -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