Re: [PATCH bpf-next] bpf: make btf_check_func_type_match() static

From: Daniel Borkmann
Date: Mon Feb 10 2020 - 18:39:58 EST


On 2/10/20 2:14 AM, Hongbo Yao wrote:
Fix 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@xxxxxxxxxx>
Signed-off-by: Hongbo Yao <yaohongbo@xxxxxxxxxx>

Given this fixes a warning, applied to bpf.