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

From: patchwork-bot+netdevbpf
Date: Wed Mar 30 2022 - 09:30:23 EST


Hello:

This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Wed, 30 Mar 2022 09:59:48 +0800 you 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
>
> [...]

Here is the summary with links:
- [V2] selftests/bpf: Fix warning comparing pointer to 0
https://git.kernel.org/bpf/bpf/c/2609f635a20d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html