diff options
| author | Pu Lehui <[email protected]> | 2021-05-19 06:41:16 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-05-19 17:47:43 +0000 |
| commit | 3a2daa7248647c0e5e165140553f9af5006e93a2 (patch) | |
| tree | 596b4c32090b3684b8b5e77c314da21909ffeea0 /net/sched/cls_api.c | |
| parent | bpf: Add cmd alias BPF_PROG_RUN (diff) | |
| download | kernel-3a2daa7248647c0e5e165140553f9af5006e93a2.tar.gz kernel-3a2daa7248647c0e5e165140553f9af5006e93a2.zip | |
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 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions
