]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Make btf_check_func_type_match() static
authorHongbo Yao <yaohongbo@huawei.com>
Mon, 10 Feb 2020 01:14:41 +0000 (09:14 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 10 Feb 2020 23:22:47 +0000 (00:22 +0100)
commit2593ecc896d3ea60c89219fb6cfe337b460664ac
treeed31b7f79bc6bb14daf78addbba25fc2ca39fbba
parent7b6382ad17412dd22ab1fa59d23eee89d2dd5307
bpf: Make btf_check_func_type_match() static

Fix the following sparse warning:

kernel/bpf/btf.c:4131:5: warning: symbol 'btf_check_func_type_match' was
not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Hongbo Yao <yaohongbo@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200210011441.147102-1-yaohongbo@huawei.com
kernel/bpf/btf.c