summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-07-17 20:30:59 +0800
committerAlexei Starovoitov <ast@kernel.org>2020-07-21 13:26:25 -0700
commit956fcfcd359512f15b19bcd157fa8206ed26605b (patch)
tree29c6799ad2feba50fb931a9e19b8526570f0eb1d /arch/riscv
parentda7a35062bcccd3f67779a357065ba707b02ff2b (diff)
downloadlinux-stable-956fcfcd359512f15b19bcd157fa8206ed26605b.tar.gz
linux-stable-956fcfcd359512f15b19bcd157fa8206ed26605b.tar.bz2
linux-stable-956fcfcd359512f15b19bcd157fa8206ed26605b.zip
tools/bpftool: Fix error handing in do_skeleton()
Fix pass 0 to PTR_ERR, also dump more err info using libbpf_strerror. Fixes: 5dc7a8b21144 ("bpftool, selftests/bpf: Embed object file inside skeleton") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Reviewed-by: Quentin Monnet <quentin@isovalent.com> Link: https://lore.kernel.org/bpf/20200717123059.29624-1-yuehaibing@huawei.com
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions