]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc706c806cf4589e6bc63e2741a4dc57455ff9c08
treedd458a3cdc6fc12cb4055a10b6b82ee2d5a23230
parentd4b127b8917ab7e861e29f99d27897462db9cc64
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