]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Shut up kern_sys_bpf warning.
authorAlexei Starovoitov <ast@kernel.org>
Thu, 11 Aug 2022 06:52:28 +0000 (23:52 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 11 Aug 2022 06:58:13 +0000 (23:58 -0700)
commitfd5d283a4e4b69c292eeefcb1936b746e4f634a6
treefad65274934b901d03fc0318993864855d90cde2
parent16b297b35856f69ccc6e36b944e5122d0a6af4f4
bpf: Shut up kern_sys_bpf warning.

Shut up this warning:
kernel/bpf/syscall.c:5089:5: warning: no previous prototype for function 'kern_sys_bpf' [-Wmissing-prototypes]
int kern_sys_bpf(int cmd, union bpf_attr *attr, unsigned int size)

Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/syscall.c