Re: [PATCH] libbpf: Fix possible compiler warnings in hashmap

From: patchwork-bot+netdevbpf
Date: Fri Oct 11 2024 - 15:40:33 EST


Hello:

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

On Fri, 11 Oct 2024 10:00:21 -0700 you wrote:
> The hashmap__for_each_entry[_safe] is accessing 'map' as a pointer.
> But it does without parentheses so passing a static hash map with an
> ampersand (like '&slab_hash') will cause compiler warnings due
> to unmatched types as '->' operator has a higher precedence.
>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- libbpf: Fix possible compiler warnings in hashmap
https://git.kernel.org/bpf/bpf-next/c/989a29cfed9b

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