Commit 1e2ed4b
trace: ftrace_dump_on_oops[] is not exported, make it static
The ftrace_dump_on_oops string is not used outside of trace.c so
make it static to avoid the export warning from sparse:
kernel/trace/trace.c:141:6: warning: symbol 'ftrace_dump_on_oops' was not declared. Should it be static?
Fixes: dd293df ("tracing: Move trace sysctls into trace.c")
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Ben Dooks <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent 5f1ef0d commit 1e2ed4b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments