diff options
| author | Zhihao Cheng <chengzhihao1@huawei.com> | 2021-06-09 14:59:16 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2021-06-12 01:31:09 +0300 |
| commit | ca16b429f39b4ce013bfa7e197f25681e65a2a42 (patch) | |
| tree | 4a80bc04925b32035eeda57111de61558c9268f4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 3b3af91cb6893967bbec30f5c14562d0f7f00c2a (diff) | |
| download | linux-ca16b429f39b4ce013bfa7e197f25681e65a2a42.tar.xz | |
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 <hulkci@huawei.com>
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20210609115916.2186872-1-chengzhihao1@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
