Alexei Starovoitov ce27709b81 bpf: Fix build in minimal configurations
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@infradead.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/bpf/20191128043508.2346723-1-ast@kernel.org
2019-11-29 01:03:42 +01:00
..
2019-11-25 19:40:40 -08:00
2019-09-15 21:37:13 +02:00
2019-11-25 10:40:27 -08:00
2019-07-08 18:55:42 -07:00
2019-07-08 18:55:42 -07:00
2019-07-08 18:55:42 -07:00
2019-07-25 08:36:29 -07:00
2019-10-17 15:36:58 +02:00
2019-11-25 18:36:49 -08:00
2019-05-24 20:16:01 +02:00
2019-09-20 11:19:48 -07:00
2019-07-08 19:36:47 -07:00
2019-07-08 19:36:47 -07:00