Re: [PATCH] Trace: add __print_symbolic_u64 to avoid warnings on32bit machine

From: liubo
Date: Mon Apr 18 2011 - 21:06:58 EST


On 04/19/2011 02:11 AM, Steven Rostedt wrote:
> On Wed, 2011-04-06 at 17:18 +0800, liubo wrote:
>> Btrfs has some "ULL" macros, and when these macros are passed to tracepoints'
>> __print_symbolic(), there will be 64->32 truncate WARNINGS during compiling
>> on 32bit box.
>>
>> Signed-off-by: Liu Bo <liubo2009@xxxxxxxxxxxxxx>
>> ---
>> include/linux/ftrace_event.h | 12 ++++++++++++
>> include/trace/events/btrfs.h | 4 ++--
>> include/trace/ftrace.h | 13 +++++++++++++
>> kernel/trace/trace_output.c | 27 +++++++++++++++++++++++++++
>> 4 files changed, 54 insertions(+), 2 deletions(-)
>
> Could you break this up into two patches. One that touches the ftrace
> core, and one that updates btrfs.
>

Sure, I'll break it and resend soon. Thanks for the reply.

thanks,
liubo

> Thanks,
>
> -- Steve
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/