diff options
author | 2023-03-11 08:51:13 -0500 | |
---|---|---|
committer | 2023-03-19 12:20:49 -0400 | |
commit | 8732565549011cabbea08329a1aefd78a68d96c7 (patch) | |
tree | 1a490b63e5a3494f7a1fbca84409bd3bcdc5e62f /scripts/generate_rust_analyzer.py | |
parent | trace/hwlat: Do not start per-cpu thread if it is already running (diff) | |
download | linux-rng-8732565549011cabbea08329a1aefd78a68d96c7.tar.xz linux-rng-8732565549011cabbea08329a1aefd78a68d96c7.zip |
ftrace: Set direct_ops storage-class-specifier to static
smatch reports this warning
kernel/trace/ftrace.c:2594:19: warning:
symbol 'direct_ops' was not declared. Should it be static?
The variable direct_ops is only used in ftrace.c, so it should be static
Link: https://lore.kernel.org/linux-trace-kernel/20230311135113.711824-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions