]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Make bpf_link_fops static
authorZou Wei <zou_wei@huawei.com>
Thu, 23 Apr 2020 02:32:40 +0000 (10:32 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 25 Apr 2020 00:42:44 +0000 (17:42 -0700)
commitf7b4fd00966ce454d72f746128b91e55340479b9
treeef260fbdf088432ff4e51d25dec2808f5fc1151d
parent3934ca913a8b4faec0efc25f635fc184295898d3
bpf: Make bpf_link_fops static

Fix the following sparse warning:

kernel/bpf/syscall.c:2289:30: warning: symbol 'bpf_link_fops' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/1587609160-117806-1-git-send-email-zou_wei@huawei.com
kernel/bpf/syscall.c