]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/ftrace: Fix printf format warning
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 6 Apr 2009 04:40:46 +0000 (04:40 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Apr 2009 05:19:00 +0000 (15:19 +1000)
commit7ddb7ad11f862f46d6d55d629a6fb45a5f4cb030
tree738ca9c08cea6aab912b6421ab6817e6bf4540c0
parentf4952f6cbeb025bc90906b740dc495f4817266d6
powerpc/ftrace: Fix printf format warning

'tramp' is an unsigned long, so print it with %lx.

Fixes the following build warning:
arch/powerpc/kernel/ftrace.c:291: error: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ftrace.c