Re: [RFC PATCH v2 1/4] tracing: add __print_sym() to replace __print_symbolic()

From: Johannes Berg
Date: Wed Mar 27 2024 - 17:25:13 EST


On Wed, 2024-03-27 at 21:11 +0000, Simon Horman wrote:
>
> I'm seeing some allmodconfig build problems with this applied on top of
> net-next.

> ./include/trace/stages/init.h:30: warning: "TRACE_DEFINE_SYM_FNS" redefined

> ./include/trace/stages/init.h:54: warning: "TRACE_DEFINE_SYM_LIST" redefined

Yeah, the 0-day bot reported that too, sorry about that. It needs two
lines to #undef these in init.h before their definition, just like all
other macros there. Not sure why my builds didn't show that, maybe it
doesn't affect all users.

johannes