Re: [PATCH bpf-next v5 0/3] Normalize enum values in libbpf and bpftool

From: patchwork-bot+netdevbpf

Date: Thu Nov 12 2026 - 16:34:31 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Sun, 8 Nov 2026 02:56:29 +0000 you wrote:
> This series fixes enum signedness in libbpf and bpftool data dumps
> using the shared btf_enum_value() helper suggested by Alexei. It also
> uses the helper for enum-backed map fields, where sign extension can
> change the requested map_extra value.
>
> Ordinary enums are interpreted according to kflag. When kflag is
> clear, values are treated as unsigned, including BTF from producers
> that did not record signedness.
>
> [...]

Here is the summary with links:
- [bpf-next,v5,1/3] libbpf: Normalize enum values according to signedness
https://git.kernel.org/bpf/bpf-next/c/89e7a42e3030
- [bpf-next,v5,2/3] bpftool: Preserve unsigned enum values in data dumps
https://git.kernel.org/bpf/bpf-next/c/0296813e0c59
- [bpf-next,v5,3/3] selftests/bpf: Cover enum signedness in data dumps and map fields
https://git.kernel.org/bpf/bpf-next/c/881dbe78cc98

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