Re: [PATCH bpf] bpf: Fix build in minimal configurations
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2019-11-29 00:25:33
Also in:
bpf
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2019-11-29 00:25:33
Also in:
bpf
On 11/28/19 5:35 AM, Alexei Starovoitov wrote:
Some kconfigs can have BPF enabled without a single valid program type. In such configurations the build will fail with: ./kernel/bpf/btf.c:3466:1: error: empty enum is invalid Fix it by adding unused value to the enum. Reported-by: Randy Dunlap <redacted> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Applied, thanks!