[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzYG=wFMJ_0RdLF53qhzpKWFf4jgM1r3b6sHoiTqgSE8Ew@mail.gmail.com>
Date: Wed, 20 Nov 2019 10:14:43 -0800
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Quentin Monnet <quentin.monnet@...ronome.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
bpf <bpf@...r.kernel.org>, Networking <netdev@...r.kernel.org>,
oss-drivers@...ronome.com, Jiri Olsa <jolsa@...nel.org>
Subject: Re: [PATCH bpf-next] tools: bpftool: fix warning on ignored return
value for 'read'
On Tue, Nov 19, 2019 at 3:18 AM Quentin Monnet
<quentin.monnet@...ronome.com> 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@...nel.org>
> Signed-off-by: Quentin Monnet <quentin.monnet@...ronome.com>
> Reviewed-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
> ---
Acked-by: Andrii Nakryiko <andriin@...com>
> tools/bpf/bpftool/btf.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
[...]
Powered by blists - more mailing lists