diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2023-12-07 12:08:51 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-09 21:27:54 -0800 |
commit | 5181dc08f79583c6dead80208137a97e68ff07b0 (patch) | |
tree | 9473a401170286e5d0ecf3e7936fa081ca3215b6 /include | |
parent | 7d8ed51bcb32716a40d71043fcd01c4118858c51 (diff) | |
download | linux-5181dc08f79583c6dead80208137a97e68ff07b0.tar.gz linux-5181dc08f79583c6dead80208137a97e68ff07b0.tar.bz2 linux-5181dc08f79583c6dead80208137a97e68ff07b0.zip |
test_bpf: Rename second ALU64_SMOD_X to ALU64_SMOD_K
Currently, there are two test cases with same name
"ALU64_SMOD_X: -7 % 2 = -1", the first one is right,
the second one should be ALU64_SMOD_K because its
code is BPF_ALU64 | BPF_MOD | BPF_K.
Before:
test_bpf: #170 ALU64_SMOD_X: -7 % 2 = -1 jited:1 4 PASS
test_bpf: #171 ALU64_SMOD_X: -7 % 2 = -1 jited:1 4 PASS
After:
test_bpf: #170 ALU64_SMOD_X: -7 % 2 = -1 jited:1 4 PASS
test_bpf: #171 ALU64_SMOD_K: -7 % 2 = -1 jited:1 4 PASS
Fixes: daabb2b098e0 ("bpf/tests: add tests for cpuv4 instructions")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20231207040851.19730-1-yangtiezhu@loongson.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions