Commit ae7f4704 authored by Johan Almbladh's avatar Johan Almbladh Committed by Andrii Nakryiko

bpf/tests: Fix copy-and-paste error in double word test

This test now operates on DW as stated instead of W, which was
already covered by another test.
Signed-off-by: default avatarJohan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210721104058.3755254-1-johan.almbladh@anyfinetworks.com
parent 7a188442
...@@ -4286,8 +4286,8 @@ static struct bpf_test tests[] = { ...@@ -4286,8 +4286,8 @@ static struct bpf_test tests[] = {
.u.insns_int = { .u.insns_int = {
BPF_LD_IMM64(R0, 0), BPF_LD_IMM64(R0, 0),
BPF_LD_IMM64(R1, 0xffffffffffffffffLL), BPF_LD_IMM64(R1, 0xffffffffffffffffLL),
BPF_STX_MEM(BPF_W, R10, R1, -40), BPF_STX_MEM(BPF_DW, R10, R1, -40),
BPF_LDX_MEM(BPF_W, R0, R10, -40), BPF_LDX_MEM(BPF_DW, R0, R10, -40),
BPF_EXIT_INSN(), BPF_EXIT_INSN(),
}, },
INTERNAL, INTERNAL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment