On 3/29/22 6:59 PM, Haowen Bai wrote:
Avoid pointer type value compared with 0 to make code clear.
reported by coccicheck: tools/testing/selftests/bpf/progs/map_ptr_kern.c:370:21-22: WARNING comparing pointer to 0 tools/testing/selftests/bpf/progs/map_ptr_kern.c:397:21-22: WARNING comparing pointer to 0
Signed-off-by: Haowen Bai baihaowen@meizu.com
Acked-by: Yonghong Song yhs@fb.com