Messages in this thread | | | Subject | Re: [PATCH bpf-next] bpf: Increase size of BTF_ID_LIST without CONFIG_DEBUG_INFO_BTF again | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 07 Mar 2023 16:00:18 +0000 |
| |
Hello:
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>:
On Tue, 07 Mar 2023 08:14:06 -0700 you wrote: > After commit 66e3a13e7c2c ("bpf: Add bpf_dynptr_slice and > bpf_dynptr_slice_rdwr"), clang builds without CONFIG_DEBUG_INFO_BTF > warn: > > kernel/bpf/verifier.c:10298:24: warning: array index 16 is past the end of the array (that has type 'u32[16]' (aka 'unsigned int[16]')) [-Warray-bounds] > meta.func_id == special_kfunc_list[KF_bpf_dynptr_slice_rdwr]) { > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ > kernel/bpf/verifier.c:9150:1: note: array 'special_kfunc_list' declared here > BTF_ID_LIST(special_kfunc_list) > ^ > include/linux/btf_ids.h:207:27: note: expanded from macro 'BTF_ID_LIST' > #define BTF_ID_LIST(name) static u32 __maybe_unused name[16]; > ^ > 1 warning generated. > > [...]
Here is the summary with links: - [bpf-next] bpf: Increase size of BTF_ID_LIST without CONFIG_DEBUG_INFO_BTF again https://git.kernel.org/bpf/bpf-next/c/2d5bcdcda879
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |