aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tracing_struct.c
diff options
context:
space:
mode:
authorAlan Maguire <[email protected]>2024-06-29 10:00:58 +0000
committerDaniel Borkmann <[email protected]>2024-07-01 15:05:08 +0000
commit5b747c23f17d791e08fdf4baa7e14b704625518c (patch)
treeab8242d6e3d89a3be472da66390204ad79e4d5f6 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c
parentselftests/bpf: Add selftest for bpf_xdp_flow_lookup kfunc (diff)
downloadkernel-5b747c23f17d791e08fdf4baa7e14b704625518c.tar.gz
kernel-5b747c23f17d791e08fdf4baa7e14b704625518c.zip
libbpf: Fix error handling in btf__distill_base()
Coverity points out that after calling btf__new_empty_split() the wrong value is checked for error. Fixes: 58e185a0dc35 ("libbpf: Add btf__distill_base() creating split BTF with distilled base BTF") Reported-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alan Maguire <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions