Skip to content

Commit

Permalink
x86: Fix build warning in arch/x86/mm/mmio-mod.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and Ingo Molnar committed Dec 14, 2009
1 parent 06f8bda commit eba11d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/mm/mmio-mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit eba11d6

Please sign in to comment.