OSDN Git Service

bpf: selftests: Get rid of CHECK macro in xdp_adjust_tail.c
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 20 Jan 2022 11:50:26 +0000 (12:50 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 20 Jan 2022 21:54:57 +0000 (13:54 -0800)
commit791cad025051773daed5512a9109eba53e73a575
treedd458a3cdc6fc12cb4055a10b6b82ee2d5a23230
parent4e950747ba126eb4accacf8f8b10459f374e6e9e
bpf: selftests: Get rid of CHECK macro in xdp_adjust_tail.c

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

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