diff options
| author | Stanislav Fomichev <[email protected]> | 2019-01-24 16:54:29 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-01-25 00:48:35 +0000 |
| commit | 2f0921262ba943fe9d9f59037a033927d8c4789b (patch) | |
| tree | f86789b5ddcdf672a1ff61bf0e726cea5450d48c /tools/testing/selftests/bpf/verifier/div_overflow.c | |
| parent | bpf: allow BPF programs access skb_shared_info->gso_segs field (diff) | |
| download | kernel-2f0921262ba943fe9d9f59037a033927d8c4789b.tar.gz kernel-2f0921262ba943fe9d9f59037a033927d8c4789b.zip | |
selftests/bpf: suppress readelf stderr when probing for BTF support
Before:
$ make -s -C tools/testing/selftests/bpf
readelf: Error: Missing knowledge of 32-bit reloc types used in DWARF
sections of machine number 247
readelf: Warning: unable to apply unsupported reloc type 10 to section
.debug_info
readelf: Warning: unable to apply unsupported reloc type 1 to section
.debug_info
readelf: Warning: unable to apply unsupported reloc type 10 to section
.debug_info
After:
$ make -s -C tools/testing/selftests/bpf
v2:
* use llvm-readelf instead of redirecting binutils' readelf stderr to
/dev/null
Signed-off-by: Stanislav Fomichev <[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/verifier/div_overflow.c')
0 files changed, 0 insertions, 0 deletions
