Skip to content

Commit 36b3615

Browse files
committed
tracing: Add missing "inline" in stub function of latency_fsnotify()
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>
1 parent 9b47120 commit 36b3615

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/trace/trace.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ void latency_fsnotify(struct trace_array *tr);
801801

802802
#else
803803

804-
static void latency_fsnotify(struct trace_array *tr) { }
804+
static inline void latency_fsnotify(struct trace_array *tr) { }
805805

806806
#endif
807807

0 commit comments

Comments
 (0)