Re: [PATCH] bpf: fix check against plain integer v 'NULL'

From: patchwork-bot+netdevbpf
Date: Fri Jul 15 2022 - 13:00:18 EST


This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Thu, 14 Jul 2022 11:03:22 +0100 you wrote:
> When checking with sparse, btf_show_type_value() is causing a
> warning about checking integer vs NULL when the macro is passed
> a pointer, due to the 'value != 0' check. Stop sparse complaining
> about any type-casting by adding a cast to the typeof(value).
> This fixes the following sparse warnings:
> [...]

Here is the summary with links:
- bpf: fix check against plain integer v 'NULL'

You are awesome, thank you!
Deet-doot-dot, I am a bot.