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

From: Daniel Borkmann
Date: Mon Aug 03 2020 - 10:33:25 EST


On 8/2/20 1:15 PM, Tianjia Zhang 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>

Applied, thanks!