Re: [for-next][PATCH] tracing: Add missing "inline" in stub function of latency_fsnotify()

From: Viktor Rosendahl
Date: Fri Nov 15 2019 - 08:46:06 EST


On 11/15/19 2:27 PM, Steven Rostedt wrote:

diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 90cba68c8b50..2df8aed6a8f0 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


Looks good to me.

Thanks for fixing this.

best regards,

Viktor