From: Steven Rostedt (VMware) Date: Fri, 15 Nov 2019 03:43:58 +0000 (-0500) Subject: tracing: Add missing "inline" in stub function of latency_fsnotify() X-Git-Tag: v5.15~4913^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36b3615dc3b625c8b587f34e413a600f7ac16403;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Steven Rostedt (VMware) --- diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 90cba68..2df8aed 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -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