Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <daniel@xxxxxxxxxxxxx>: On Thu, 5 Jan 2023 11:26:47 -0800 you wrote: > Zero-length arrays are deprecated[1]. Replace struct bpf_array's > union of 0-length arrays with flexible arrays. (How are the > sizes of these arrays verified?) Detected with GCC 13, using > -fstrict-flex-arrays=3: > > arch/x86/net/bpf_jit_comp.c: In function 'bpf_tail_call_direct_fixup': > arch/x86/net/bpf_jit_comp.c:606:37: warning: array subscript <unknown> is outside array bounds of 'void *[0]' [-Warray-bounds=] > 606 | target = array->ptrs[poke->tail_call.key]; > | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ > In file included from include/linux/filter.h:9, > from arch/x86/net/bpf_jit_comp.c:9: > include/linux/bpf.h:1527:23: note: while referencing 'ptrs' > 1527 | void *ptrs[0] __aligned(8); > | ^~~~ > > [...] Here is the summary with links: - bpf: Replace 0-length arrays with flexible arrays https://git.kernel.org/bpf/bpf-next/c/129d868ede1e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html