[PATCH 2/2] powerpc/ftrace: Fix printf format warning

2009-04-06 Thread Michael Ellerman
'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 mich...@ellerman.id.au ---

Re: [PATCH 2/2] powerpc/ftrace: Fix printf format warning

2009-04-06 Thread Steven Rostedt
On Tue, 2009-04-07 at 00:40 +1000, Michael Ellerman wrote: '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: