[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <775e2e54-f2f8-18b6-444d-27699b7666ff@iogearbox.net>
Date: Fri, 29 Nov 2019 01:25:20 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Alexei Starovoitov <ast@...nel.org>, davem@...emloft.net
Cc: rdunlap@...radead.org, netdev@...r.kernel.org, bpf@...r.kernel.org,
kernel-team@...com
Subject: Re: [PATCH bpf] bpf: Fix build in minimal configurations
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 <rdunlap@...radead.org>
> Signed-off-by: Alexei Starovoitov <ast@...nel.org>
Applied, thanks!
Powered by blists - more mailing lists