Skip to content

Commit 36b3615

Browse files
committed
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/[email protected] Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 9b47120 commit 36b3615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/trace/trace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ void latency_fsnotify(struct trace_array *tr);
801801

802802
#else
803803

804-
static void latency_fsnotify(struct trace_array *tr) { }
804+
static inline void latency_fsnotify(struct trace_array *tr) { }
805805

806806
#endif
807807

0 commit comments

Comments
 (0)