Re: [PATCH] tools/bpf/bpftool: Fix wrong return value in do_dump()

From: John Fastabend
Date: Mon Aug 03 2020 - 01:04:27 EST


Andrii Nakryiko wrote:
> On Sun, Aug 2, 2020 at 4:16 AM Tianjia Zhang
> <tianjia.zhang@xxxxxxxxxxxxxxxxx> wrote:
> >
> > In case of btf_id does not exist, a negative error code -ENOENT
> > should be returned.
> >
> > Fixes: c93cc69004df3 ("bpftool: add ability to dump BTF types")
> > Cc: Andrii Nakryiko <andriin@xxxxxx>
> > Signed-off-by: Tianjia Zhang <tianjia.zhang@xxxxxxxxxxxxxxxxx>
> > ---
>
>
> Acked-by: Andrii Nakryiko <andriin@xxxxxx>
>

Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>