]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: selftests: Get rid of CHECK macro in xdp_bpf2bpf.c
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 20 Jan 2022 11:50:27 +0000 (12:50 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 20 Jan 2022 21:54:57 +0000 (13:54 -0800)
commitee2ff0397c2fa97903441b72bfcfb33543bb878f
tree1cbe5b2b0b7486e11a292590cf2e28148039e419
parentda96905ab6be8b6afbb32506fe9497476ade8312
bpf: selftests: Get rid of CHECK macro in xdp_bpf2bpf.c

Rely on ASSERT* macros and get rid of deprecated CHECK ones in
xdp_bpf2bpf bpf selftest.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/df7e5098465016e27d91f2c69a376a35d63a7621.1642679130.git.lorenzo@kernel.org
tools/testing/selftests/bpf/prog_tests/xdp_bpf2bpf.c