Messages in this thread | | | Date | Wed, 16 Nov 2022 21:53:26 -0500 | From | Steven Rostedt <> | Subject | Re: [PATCH] tracing: Fix warning on variable 'struct trace_array' |
| |
On Mon, 7 Nov 2022 21:35:56 +0530 Aashish Sharma <shraash@google.com> wrote:
> Move the declaration of 'struct trace_array' out of #ifdef > CONFIG_TRACING block, to fix the following warning when CONFIG_TRACING > is not set: > > >> include/linux/trace.h:63:45: warning: 'struct trace_array' declared > inside parameter list will not be visible outside of this definition or > declaration > > Fixes: 1a77dd1c2bb5 ("scsi: tracing: Fix compile error in trace_array calls when TRACING is disabled") > Cc: Arun Easi <aeasi@marvell.com> > Signed-off-by: Aashish Sharma <shraash@google.com> >
Queued. Thanks Aashish!
-- Steve
| |