]> git.baikalelectronics.ru Git - kernel.git/commitdiff
x86: Fix build warning in arch/x86/mm/mmio-mod.c
authorJoe Perches <joe@perches.com>
Mon, 14 Dec 2009 07:24:03 +0000 (23:24 -0800)
committerIngo Molnar <mingo@elte.hu>
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 <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>
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