aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/ringbuf.c
diff options
context:
space:
mode:
authorZhihao Cheng <[email protected]>2021-06-09 11:59:16 +0000
committerAndrii Nakryiko <[email protected]>2021-06-11 22:31:09 +0000
commitca16b429f39b4ce013bfa7e197f25681e65a2a42 (patch)
tree4a80bc04925b32035eeda57111de61558c9268f4 /tools/lib/bpf/ringbuf.c
parentlibbpf: Simplify the return expression of bpf_object__init_maps function (diff)
downloadkernel-ca16b429f39b4ce013bfa7e197f25681e65a2a42.tar.gz
kernel-ca16b429f39b4ce013bfa7e197f25681e65a2a42.zip
tools/bpftool: Fix error return code in do_batch()
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 <[email protected]> Signed-off-by: Zhihao Cheng <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/ringbuf.c')
0 files changed, 0 insertions, 0 deletions