Re: [PATCH bpf-next] bpf: Make array_map_mmap static

From: Alexei Starovoitov
Date: Tue Nov 19 2019 - 19:59:57 EST


On Tue, Nov 19, 2019 at 6:21 AM YueHaibing <yuehaibing@xxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxx>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied. Thanks