diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c index ed7dfaf2fe63..257bae0decf4 100644 --- a/kernel/bpf/btf.c +++ b/kernel/bpf/btf.c @@ -3476,6 +3476,7 @@ static u8 bpf_ctx_convert_map[] = { [_id] = __ctx_convert##_id, #include #undef BPF_PROG_TYPE + 0, /* avoid empty array */ }; #undef BPF_MAP_TYPE