diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-14 22:43:58 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-14 22:45:47 -0500 |
commit | 36b3615dc3b625c8b587f34e413a600f7ac16403 (patch) | |
tree | 5eda115ef27385b41f73761f78a371acbd8e920c /kernel/trace | |
parent | 9b4712044d059e7842aaeeafd7c7a7ee88c589db (diff) | |
download | linux-36b3615dc3b625c8b587f34e413a600f7ac16403.tar.gz linux-36b3615dc3b625c8b587f34e413a600f7ac16403.tar.bz2 linux-36b3615dc3b625c8b587f34e413a600f7ac16403.zip |
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>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |