projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a18844
)
bpf/tests: Fix copy-and-paste error in double word test
author
Johan Almbladh
<johan.almbladh@anyfinetworks.com>
Wed, 21 Jul 2021 10:40:58 +0000
(12:40 +0200)
committer
Andrii Nakryiko
<andrii@kernel.org>
Sat, 24 Jul 2021 00:17:12 +0000
(17:17 -0700)
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
lib/test_bpf.c
patch
|
blob
|
history
diff --git
a/lib/test_bpf.c
b/lib/test_bpf.c
index
d500320
..
1c5299c
100644
(file)
--- a/
lib/test_bpf.c
+++ b/
lib/test_bpf.c
@@
-4286,8
+4286,8
@@
static struct bpf_test tests[] = {
.u.insns_int = {
BPF_LD_IMM64(R0, 0),
BPF_LD_IMM64(R1, 0xffffffffffffffffLL),
- BPF_STX_MEM(BPF_W, R10, R1, -40),
- BPF_LDX_MEM(BPF_W, R0, R10, -40),
+ BPF_STX_MEM(BPF_
D
W, R10, R1, -40),
+ BPF_LDX_MEM(BPF_
D
W, R0, R10, -40),
BPF_EXIT_INSN(),
},
INTERNAL,