[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191115082719.4f2d11a0@gandalf.local.home>
Date: Fri, 15 Nov 2019 08:27:19 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Ingo Molnar <mingo@...nel.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
"Viktor Rosendahl (BMW)" <viktor.rosendahl@...il.com>,
"Joel Fernandes (Google)" <joel@...lfernandes.org>
Subject: [for-next][PATCH] tracing: Add missing "inline" in stub function of
latency_fsnotify()
From: "Steven Rostedt (VMware)" <rostedt@...dmis.org>
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@...b.auug.org.au>
Signed-off-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
---
kernel/trace/trace.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.20.1
Powered by blists - more mailing lists