Re: [PATCH] tools/bpftool: Fix error return code in do_batch()

From: Andrii Nakryiko
Date: Tue Jun 15 2021 - 02:23:35 EST


On Wed, Jun 9, 2021 at 6:34 AM Quentin Monnet <quentin@xxxxxxxxxxxxx> wrote:
>
> 2021-06-09 19:59 UTC+0800 ~ Zhihao Cheng <chengzhihao1@xxxxxxxxxx>
> > Fix to return a negative error code from the error handling
> > case instead of 0, as done elsewhere in this function.
> >
> > Fixes: 668da745af3c2 ("tools: bpftool: add support for quotations ...")
> > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> > Signed-off-by: Zhihao Cheng <chengzhihao1@xxxxxxxxxx>
>
> Reviewed-by: Quentin Monnet <quentin@xxxxxxxxxxxxx>
>
> Thank you for the fix.

This has been applied to bpf-next last Friday. Patchbot missed it.

> Quentin