mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
selftests/bpf: by default use arch mask allowing all archs
If test case does not specify architecture via __arch_* macro consider
that it should be run for all architectures.
Fixes: 7d743e4c75
("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>
This commit is contained in:
parent
4060909324
commit
f406026fef
@ -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)
|
if (spec->mode_mask == 0)
|
||||||
spec->mode_mask = PRIV;
|
spec->mode_mask = PRIV;
|
||||||
|
Loading…
Reference in New Issue
Block a user