Skip to content

Commit

Permalink
tracing: Add missing "inline" in stub function of latency_fsnotify()
Browse files Browse the repository at this point in the history
The latency_fsnotify() stub when the function is not defined, was missing
the "inline".

Link: https://lore.kernel.org/r/20191115140213.74c5efe7@canb.auug.org.au

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
  • Loading branch information
Steven Rostedt (VMware) committed Nov 15, 2019
1 parent 9b47120 commit 36b3615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/trace/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ void latency_fsnotify(struct trace_array *tr);

#else

static void latency_fsnotify(struct trace_array *tr) { }
static inline void latency_fsnotify(struct trace_array *tr) { }

#endif

Expand Down

0 comments on commit 36b3615

Please sign in to comment.