diff options
| author | Yuran Pereira <[email protected]> | 2023-10-28 05:24:13 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-11-10 02:58:38 +0000 |
| commit | fac85c291e141a67fce46bdce01f9ee33aafabfe (patch) | |
| tree | d0878b9c891a817a0eaf9b0046239f37d338574f /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | Merge tag 'net-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd... (diff) | |
| download | kernel-fac85c291e141a67fce46bdce01f9ee33aafabfe.tar.gz kernel-fac85c291e141a67fce46bdce01f9ee33aafabfe.zip | |
selftests/bpf: Convert CHECK macros to ASSERT_* macros in bpf_iter
As it was pointed out by Yonghong Song [1], in the bpf selftests the use
of the ASSERT_* series of macros is preferred over the CHECK macro.
This patch replaces all CHECK calls in bpf_iter with the appropriate
ASSERT_* macros.
[1] https://lore.kernel.org/lkml/[email protected]
Suggested-by: Yonghong Song <[email protected]>
Signed-off-by: Yuran Pereira <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Kui-Feng Lee <[email protected]>
Link: https://lore.kernel.org/r/DB3PR10MB6835E9C8DFCA226DD6FEF914E8A3A@DB3PR10MB6835.EURPRD10.PROD.OUTLOOK.COM
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
