]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: eBPF: Make ebpf_to_mips_reg() static
authorYueHaibing <yuehaibing@huawei.com>
Wed, 10 Apr 2019 13:49:23 +0000 (21:49 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 26 Apr 2019 00:20:06 +0000 (17:20 -0700)
commit69fba1fdf766c5db3ba824baefbd409821b1fbf3
tree8f6c7eba241584180e76d4698205b4b50b0cce84
parentd4a8e8de543a40cafd4c52aaca1cce11852da9db
MIPS: eBPF: Make ebpf_to_mips_reg() static

Fix sparse warning:

arch/mips/net/ebpf_jit.c:196:5: warning:
 symbol 'ebpf_to_mips_reg' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/mips/net/ebpf_jit.c