Re: linux-next: build warning after merge of the ftrace tree

From: Steven Rostedt
Date: Thu Nov 14 2019 - 22:44:01 EST


On Fri, 15 Nov 2019 14:02:13 +1100
Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> Hi all,
>
> After merging the ftrace tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> In file included from kernel/trace/trace.c:52:
> kernel/trace/trace.h:804:13: warning: 'latency_fsnotify' defined but not used [-Wunused-function]
> 804 | static void latency_fsnotify(struct trace_array *tr) { }
> | ^~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> 91edde2e6ae1 ("ftrace: Implement fs notification for tracing_max_latency")
>
> "inline" missing :-(
>

Thanks for pointing that out, I'll go and fix this.


-- Steve