diff options
author | Pu Lehui <pulehui@huawei.com> | 2021-05-19 14:41:16 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-05-19 10:47:43 -0700 |
commit | 3a2daa7248647c0e5e165140553f9af5006e93a2 (patch) | |
tree | 596b4c32090b3684b8b5e77c314da21909ffeea0 /kernel/entry/common.h | |
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 <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 'kernel/entry/common.h')
0 files changed, 0 insertions, 0 deletions