aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-11-27 20:35:08 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-11-29 01:03:42 +0100
commitce27709b8162e5c501bc54292b8bf6bdecc4bbd4 (patch)
treef57422083563c11598d5452c46c1f3110e816c6f /scripts
parentlibbpf: Fix sym->st_value print on 32-bit arches (diff)
downloadlinux-dev-ce27709b8162e5c501bc54292b8bf6bdecc4bbd4.tar.xz
linux-dev-ce27709b8162e5c501bc54292b8bf6bdecc4bbd4.zip
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
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions