[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165790441390.797.4433680438081515423.git-patchwork-notify@kernel.org>
Date: Fri, 15 Jul 2022 17:00:13 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ben Dooks <ben.dooks@...ive.com>
Cc: linux-kernel@...r.kernel.org, bpf@...r.kernel.org,
sudip.mukherjee@...ive.com, jude.onyenegecha@...ive.com
Subject: Re: [PATCH] bpf: fix check against plain integer v 'NULL'
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@...nel.org>:
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'
https://git.kernel.org/bpf/bpf-next/c/a2a5580fcbf8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists