Re: [PATCH] bpf: btf: make alloc_obj_fields array const
From: patchwork-bot+netdevbpf
Date: Fri Sep 11 2026 - 13:51:19 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:
On Sun, 6 Sep 2026 22:33:58 +0000 you wrote:
> The alloc_obj_fields array is never modified. Make the array itself
> const, not just the strings it points to.
>
> Signed-off-by: Bradley Morgan <brads@xxxxxxxxxxxxxx>
> ---
> kernel/bpf/btf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- bpf: btf: make alloc_obj_fields array const
https://git.kernel.org/bpf/bpf-next/c/c1ff425d625e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html