diff options
author | 2024-03-25 21:14:48 -0700 | |
---|---|---|
committer | 2024-03-28 18:31:41 -0700 | |
commit | cdfd9cc3ba147ceea650afa6b7031e31a98d500e (patch) | |
tree | 88e523f9118aefb1d02fc15de5a794d14e670d6a /tools/lib/bpf/libbpf_internal.h | |
parent | selftests/bpf: Test loading bpf-tcp-cc prog calling the kernel tcp-cc kfuncs (diff) | |
download | wireguard-linux-cdfd9cc3ba147ceea650afa6b7031e31a98d500e.tar.xz wireguard-linux-cdfd9cc3ba147ceea650afa6b7031e31a98d500e.zip |
selftests/bpf: Replace CHECK with ASSERT macros for ksyms test
Replace CHECK with ASSERT macros for ksyms tests.
This test failed earlier with clang lto kernel, but the
issue is gone with latest code base. But replacing
CHECK with ASSERT still improves code as ASSERT is
preferred in selftests.
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240326041448.1197812-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf_internal.h')
0 files changed, 0 insertions, 0 deletions