diff options
author | Alexei Starovoitov <[email protected]> | 2019-11-27 20:35:08 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-11-29 01:03:42 +0100 |
commit | ce27709b8162e5c501bc54292b8bf6bdecc4bbd4 (patch) | |
tree | f57422083563c11598d5452c46c1f3110e816c6f /tools/perf/scripts/python | |
parent | 7c3977d1e80401b1a25efded698b05d60ee26e31 (diff) |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Randy Dunlap <[email protected]> # build-tested
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions