tracing: Add missing "inline" in stub function of latency_fsnotify()
Steven Rostedt
maintainerPATCH 1/1 tracing: Add missing "inline" in stub function of latency_fsnotify()
From: "Steven Rostedt (VMware)" <[email protected]>
The latency_fsnotify() stub when the function is not defined, was missing the "inline".
Reported-by Stephen Rothwell <[email protected]>
Signed-off-by Steven Rostedt (VMware) <[email protected]>
--- kernel/trace/trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace.h +1 -1
@@ -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
Signature · 1 line
2.20.1
Quoted 6 lines · Steven Rostedt
kernel/trace/trace.h +0
-0
kernel/trace/trace.h void latency_fsnotify(struct trace_array *tr); · line 807
Quoted 8 lines
kernel/trace/trace.h +1
-1@@ -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