mirror_ubuntu-kernels/tools/testing/selftests/arm64/mte
Mark Brown 0639e02254 selftests/arm64: Use switch statements in mte_common_util.c
In the MTE tests there are several places where we use chains of if
statements to open code what could be written as switch statements, move
over to switch statements to make the idiom clearer.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220510164520.768783-6-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2022-05-15 11:07:54 +01:00
..
.gitignore kselftest/arm64: Add simple test for MTE prctl 2022-04-28 17:57:11 +01:00
check_buffer_fill.c arm64: mte: style: Simplify bool comparison 2021-01-20 12:44:26 +00:00
check_child_memory.c kselftest/arm64: fix array_size.cocci warning 2022-04-28 17:57:13 +01:00
check_gcr_el1_cswitch.c kselftest/arm64: Remove local definitions of MTE prctls 2022-02-15 15:59:20 +00:00
check_ksm_options.c kselftest/arm64: mte: ksm_options: Fix fscanf warning 2021-03-23 16:36:30 +00:00
check_mmap_options.c kselftest/arm64: Fix check_mmap_options test 2020-10-28 13:42:23 +00:00
check_prctl.c kselftest/arm64: Add simple test for MTE prctl 2022-04-28 17:57:11 +01:00
check_tags_inclusion.c selftests/arm64: Remove casts to/from void in check_tags_inclusion 2022-05-15 11:07:54 +01:00
check_user_mem.c kselftest/arm64: mte: user_mem: test a wider range of values 2022-02-15 16:57:51 +00:00
Makefile kselftest/arm64: mte: Makefile: Fix clang compilation 2021-03-24 15:43:20 +00:00
mte_common_util.c selftests/arm64: Use switch statements in mte_common_util.c 2022-05-15 11:07:54 +01:00
mte_common_util.h kselftest/arm64: Handle more kselftest result codes in MTE helpers 2022-04-28 17:57:10 +01:00
mte_def.h kselftest/arm64: Add utilities and a test to validate mte memory 2020-10-05 18:52:17 +01:00
mte_helper.S kselftest/arm64: Check mte tagged user address in kernel 2020-10-05 18:52:17 +01:00