diff --git a/net/bpf/test_run.c b/net/bpf/test_run.c index 541933abd16f8..65b52b4bd6e13 100644 --- a/net/bpf/test_run.c +++ b/net/bpf/test_run.c @@ -324,7 +324,7 @@ struct prog_test_fail2 { struct prog_test_fail3 { int len; char arr1[2]; - char arr2[0]; + char arr2[]; }; noinline void bpf_kfunc_call_test_pass_ctx(struct __sk_buff *skb)