On Tue, Nov 19, 2019 at 3:18 AM Quentin Monnet <quentin.monnet@xxxxxxxxxxxxx> wrote: > > 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. > > Cc: Jiri Olsa <jolsa@xxxxxxxxxx> > Signed-off-by: Quentin Monnet <quentin.monnet@xxxxxxxxxxxxx> > Reviewed-by: Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx> > --- Acked-by: Andrii Nakryiko <andriin@xxxxxx> > tools/bpf/bpftool/btf.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > [...]