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:
4060909
)
selftests/bpf: by default use arch mask allowing all archs
author
Eduard Zingerman
<eddyz87@gmail.com>
Thu, 22 Aug 2024 08:41:11 +0000
(
01:41
-0700)
committer
Alexei Starovoitov
<ast@kernel.org>
Thu, 22 Aug 2024 15:35:21 +0000
(08:35 -0700)
If test case does not specify architecture via __arch_* macro consider
that it should be run for all architectures.
Fixes:
7d743e4c759c
("selftests/bpf: __jited test tag to check disassembly after jit")
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link:
https://lore.kernel.org/r/20240822084112.3257995-6-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_loader.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/bpf/test_loader.c
b/tools/testing/selftests/bpf/test_loader.c
index
b229dd0
..
2ca9b73
100644
(file)
--- a/
tools/testing/selftests/bpf/test_loader.c
+++ b/
tools/testing/selftests/bpf/test_loader.c
@@
-543,7
+543,7
@@
static int parse_test_spec(struct test_loader *tester,
}
}
- spec->arch_mask = arch_mask;
+ spec->arch_mask = arch_mask
?: -1
;
if (spec->mode_mask == 0)
spec->mode_mask = PRIV;