Skip to content

Commit 99121de

Browse files
Johan Almbladhgregkh
authored andcommitted
bpf/tests: Fix copy-and-paste error in double word test
[ Upstream commit ae7f470 ] This test now operates on DW as stated instead of W, which was already covered by another test. Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210721104058.3755254-1-johan.almbladh@anyfinetworks.com Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 6f51f42 commit 99121de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/test_bpf.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4286,8 +4286,8 @@ static struct bpf_test tests[] = {
42864286
.u.insns_int = {
42874287
BPF_LD_IMM64(R0, 0),
42884288
BPF_LD_IMM64(R1, 0xffffffffffffffffLL),
4289-
BPF_STX_MEM(BPF_W, R10, R1, -40),
4290-
BPF_LDX_MEM(BPF_W, R0, R10, -40),
4289+
BPF_STX_MEM(BPF_DW, R10, R1, -40),
4290+
BPF_LDX_MEM(BPF_DW, R0, R10, -40),
42914291
BPF_EXIT_INSN(),
42924292
},
42934293
INTERNAL,

0 commit comments

Comments
 (0)