aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorXu Kuohai <[email protected]>2022-10-11 08:01:08 -0400
committerAndrii Nakryiko <[email protected]>2022-10-13 10:53:30 -0700
commitcbc1c998da59687e8bbc4667154a72eead2daf2d (patch)
tree6d6022b951ecc35c07b491c489a84ac9c8a3f6a0 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent4abdb1d5b250df4b5b3afd394d5e2fa516064c04 (diff)
selftest/bpf: Fix error usage of ASSERT_OK in xdp_adjust_tail.c
xdp_adjust_tail.c calls ASSERT_OK() to check the return value of bpf_prog_test_load(), but the condition is not correct. Fix it. Fixes: 791cad025051 ("bpf: selftests: Get rid of CHECK macro in xdp_adjust_tail.c") Signed-off-by: Xu Kuohai <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions