diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2024-01-26 09:57:36 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-01-26 11:09:32 -0800 |
commit | fa7178b0f12e55a4f2d4906df3f25d6d4f88d962 (patch) | |
tree | 6817be7ae5fd0cbb8587ea8d4e8ee6acec766f39 /net/xdp/xsk_queue.h | |
parent | e48f0f4a9bfed8947e4d1123e8b6a15c18ee1708 (diff) | |
download | linux-fa7178b0f12e55a4f2d4906df3f25d6d4f88d962.tar.gz linux-fa7178b0f12e55a4f2d4906df3f25d6d4f88d962.tar.bz2 linux-fa7178b0f12e55a4f2d4906df3f25d6d4f88d962.zip |
selftests/bpf: Add missing line break in test_verifier
There are no break lines in the test log for test_verifier #106 ~ #111
if jit is disabled, add the missing line break at the end of printf()
to fix it.
Without this patch:
[root@linux bpf]# echo 0 > /proc/sys/net/core/bpf_jit_enable
[root@linux bpf]# ./test_verifier 106
#106/p inline simple bpf_loop call SKIP (requires BPF JIT)Summary: 0 PASSED, 1 SKIPPED, 0 FAILED
With this patch:
[root@linux bpf]# echo 0 > /proc/sys/net/core/bpf_jit_enable
[root@linux bpf]# ./test_verifier 106
#106/p inline simple bpf_loop call SKIP (requires BPF JIT)
Summary: 0 PASSED, 1 SKIPPED, 0 FAILED
Fixes: 0b50478fd877 ("selftests/bpf: Skip callback tests if jit is disabled in test_verifier")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240126015736.655-1-yangtiezhu@loongson.cn
Diffstat (limited to 'net/xdp/xsk_queue.h')
0 files changed, 0 insertions, 0 deletions