diff options
author | Alexei Starovoitov <[email protected]> | 2019-09-17 10:45:37 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-09-19 14:22:44 +0200 |
commit | 9eea984979513d6ee137e545e26c5877d46039dd (patch) | |
tree | 44705f0e9fad8a7b3206d3b582e06875ce86f565 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | e0973a421c6e9d268db2157bcb8756e7ab4b4313 (diff) |
bpf: fix BTF verification of enums
vmlinux BTF has enums that are 8 byte and 1 byte in size.
2 byte enum is a valid construct as well.
Fix BTF enum verification to accept those sizes.
Fixes: 69b693f0aefa ("bpf: btf: Introduce BPF Type Format (BTF)")
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions