diff options
author | Pu Lehui <[email protected]> | 2021-05-19 14:41:16 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-05-19 10:47:43 -0700 |
commit | 3a2daa7248647c0e5e165140553f9af5006e93a2 (patch) | |
tree | 596b4c32090b3684b8b5e77c314da21909ffeea0 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 5d67f349590ddc94b6d4e25f19085728db9de697 (diff) |
bpf: Make some symbols static
The sparse tool complains as follows:
kernel/bpf/syscall.c:4567:29: warning:
symbol 'bpf_sys_bpf_proto' was not declared. Should it be static?
kernel/bpf/syscall.c:4592:29: warning:
symbol 'bpf_sys_close_proto' was not declared. Should it be static?
This symbol is not used outside of syscall.c, so marks it static.
Signed-off-by: Pu Lehui <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions