tracing: Add missing "inline" in stub function of latency_fsnotify()
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 15 Nov 2019 03:43:58 +0000 (22:43 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 15 Nov 2019 03:45:47 +0000 (22:45 -0500)
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>
kernel/trace/trace.h

index 90cba68..2df8aed 100644 (file)
@@ -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