diff options
author | Mark Brown <[email protected]> | 2022-04-19 11:32:42 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2022-04-28 17:57:11 +0100 |
commit | f326c9a6f49b06c0a936d68ae23cb90899835c3b (patch) | |
tree | ba25e70e45457857b908bf9cdbdc30cfb46d1bfd /lib/mpi/mpi-sub-ui.c | |
parent | 191e678bdc9be2447dae227f5b6ea1e995c5ee9c (diff) |
kselftest/arm64: Refactor parameter checking in mte_switch_mode()
Currently we just have a big if statement with a non-specific diagnostic
checking both the mode and the tag. Since we'll need to dynamically check
for asymmetric mode support in the system and to improve debugability split
these checks out.
Signed-off-by: Mark Brown <[email protected]>
Reviewed-by: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions