Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Nov 15, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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 :-(

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 8 lines · On Fri, 15 Nov 2019 14:02:13 +1100 Stephen Rothwell <[email protected]>…

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) { }

Quoted 8 lines
      |             ^~~~~~~~~~~~~~~~

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