Re: [PATCH] tools/resolve_btfids: fix comparison of distinct pointer types warning in resolve_btfids

From: patchwork-bot+netdevbpf
Date: Mon Jul 22 2024 - 10:40:40 EST


Hello:

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

On Mon, 22 Jul 2024 16:32:59 +0800 you wrote:
> Add a type cast for set8->pairs to fix below compile warning:
>
> main.c: In function 'sets_patch':
> main.c:699:50: warning: comparison of distinct pointer types lacks a cast
> 699 | BUILD_BUG_ON(set8->pairs != &set8->pairs[0].id);
> | ^~
>
> [...]

Here is the summary with links:
- tools/resolve_btfids: fix comparison of distinct pointer types warning in resolve_btfids
https://git.kernel.org/bpf/bpf/c/13c9b702e6cb

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