projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b47120
)
tracing: Add missing "inline" in stub function of latency_fsnotify()
author
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Fri, 15 Nov 2019 03:43:58 +0000
(22:43 -0500)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Fri, 15 Nov 2019 03:45:47 +0000
(22:45 -0500)
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>
kernel/trace/trace.h
patch
|
blob
|
history
diff --git
a/kernel/trace/trace.h
b/kernel/trace/trace.h
index 90cba68c8b50ae86a4293d7062894cfb622fd0c0..2df8aed6a8f05bd42c9a50991ff368a66f0aa441 100644
(file)
--- 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