diff options
author | Quentin Monnet <quentin.monnet@netronome.com> | 2019-11-19 14:17:06 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-11-25 03:58:44 +0300 |
commit | a0f17cc6665c80ab2765f9244c41ec127821f343 (patch) | |
tree | 210d5eafe2c8e36549729e1df540525b390401c9 /tools/testing/selftests/ir | |
parent | 5d946c5abbaf68083fa6a41824dd79e1f06286d8 (diff) | |
download | linux-a0f17cc6665c80ab2765f9244c41ec127821f343.tar.xz |
tools, bpftool: Fix warning on ignored return value for 'read'
When building bpftool, a warning was introduced by commit a94364603610
("bpftool: Allow to read btf as raw data"), because the return value
from a call to 'read()' is ignored. Let's address it.
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20191119111706.22440-1-quentin.monnet@netronome.com
Diffstat (limited to 'tools/testing/selftests/ir')
0 files changed, 0 insertions, 0 deletions