diff options
| author | Pu Lehui <pulehui@huawei.com> | 2021-05-19 09:41:16 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2021-05-19 20:47:43 +0300 |
| commit | 3a2daa7248647c0e5e165140553f9af5006e93a2 (patch) | |
| tree | 596b4c32090b3684b8b5e77c314da21909ffeea0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 5d67f349590ddc94b6d4e25f19085728db9de697 (diff) | |
| download | linux-3a2daa7248647c0e5e165140553f9af5006e93a2.tar.xz | |
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 <pulehui@huawei.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20210519064116.240536-1-pulehui@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
