Re: [PATCH V3] bpf: fix warning about using plain integer as NULL
From: Daniel Borkmann
Date: Fri Mar 08 2019 - 08:26:58 EST
On 03/08/2019 07:45 AM, Bo YU wrote:
> Sparse warning below:
>
> sudo make C=2 CF=-D__CHECK_ENDIAN__ M=net/bpf/
> CHECK net/bpf//test_run.c
> net/bpf//test_run.c:19:77: warning: Using plain integer as NULL pointer
> ./include/linux/bpf-cgroup.h:295:77: warning: Using plain integer as NULL pointer
>
> Fixes: 8bad74f9840f ("bpf: extend cgroup bpf core to allow multiple cgroup storage types")
> Acked-by: Yonghong Song <yhs@xxxxxx>
> Signed-off-by: Bo YU <tsu.yubo@xxxxxxxxx>
Applied, thanks!