bpf: Make array_map_mmap static
authorYueHaibing <yuehaibing@huawei.com>
Tue, 19 Nov 2019 14:21:13 +0000 (22:21 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 20 Nov 2019 00:57:32 +0000 (16:57 -0800)
commitb2e2f0e6a6f910c906c083584b6e0afd12266f22
tree0272beb392994457c73e9980ef630ca9688eb3a2
parent24f65050276a4f82d5832e974dabfb5be5c07c39
bpf: Make array_map_mmap static

Fix sparse warning:

kernel/bpf/arraymap.c:481:5: warning:
 symbol 'array_map_mmap' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20191119142113.15388-1-yuehaibing@huawei.com
kernel/bpf/arraymap.c