diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-15 04:43:58 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-15 04:45:47 +0100 |
commit | 36b3615dc3b625c8b587f34e413a600f7ac16403 (patch) | |
tree | 5eda115ef27385b41f73761f78a371acbd8e920c /kernel/trace | |
parent | tracing: Remove stray tab in TRACE_EVAL_MAP_FILE's help text (diff) | |
download | linux-36b3615dc3b625c8b587f34e413a600f7ac16403.tar.xz 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 |