Re: [PATCH] selftests/bpf: fix warning comparing pointer to 0

2021-03-18 Thread Daniel Borkmann
On 3/18/21 2:55 AM, Jiapeng Chong wrote: Fix the following coccicheck warning: ./tools/testing/selftests/bpf/progs/fentry_test.c:76:15-16: WARNING comparing pointer to 0. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- tools/testing/selftests/bpf/progs/fentry_test.c | 4 ++-- 1 f

[PATCH] selftests/bpf: fix warning comparing pointer to 0

2021-03-17 Thread Jiapeng Chong
Fix the following coccicheck warning: ./tools/testing/selftests/bpf/progs/fentry_test.c:76:15-16: WARNING comparing pointer to 0. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- tools/testing/selftests/bpf/progs/fentry_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH] selftests/bpf: fix warning comparing pointer to 0

2021-03-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Tue, 16 Mar 2021 15:59:37 +0800 you wrote: > Fix the following coccicheck warning: > > ./tools/testing/selftests/bpf/progs/fexit_test.c:77:15-16: WARNING > comparing pointer to 0. > > ./tools/testing/selftests/bpf/progs/f

[PATCH] selftests/bpf: fix warning comparing pointer to 0

2021-03-16 Thread Jiapeng Chong
Fix the following coccicheck warning: ./tools/testing/selftests/bpf/progs/fexit_test.c:77:15-16: WARNING comparing pointer to 0. ./tools/testing/selftests/bpf/progs/fexit_test.c:68:12-13: WARNING comparing pointer to 0. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- tools/testing/s

Re: [PATCH] selftests/bpf: fix warning comparing pointer to 0

2021-03-10 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Wed, 10 Mar 2021 14:22:46 +0800 you wrote: > Fix the following coccicheck warning: > > ./tools/testing/selftests/bpf/progs/test_global_func10.c:17:12-13: > WARNING comparing pointer to 0. > > Reported-by: Abaci Robot > S

Re: [PATCH] selftests/bpf: fix warning comparing pointer to 0

2021-03-10 Thread Yauheni Kaliuta
On Wed, Mar 10, 2021 at 8:23 AM Jiapeng Chong wrote: > > Fix the following coccicheck warning: > > ./tools/testing/selftests/bpf/progs/test_global_func10.c:17:12-13: > WARNING comparing pointer to 0. but it's ok from the C standard point of view > > Reported-by: Abaci Robot > Signed-off-by: Jia

[PATCH] selftests/bpf: fix warning comparing pointer to 0

2021-03-09 Thread Jiapeng Chong
Fix the following coccicheck warning: ./tools/testing/selftests/bpf/progs/test_global_func10.c:17:12-13: WARNING comparing pointer to 0. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- tools/testing/selftests/bpf/progs/test_global_func10.c | 2 +- 1 file changed, 1 insertion(+), 1 de