aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2024-03-04 15:36:20 -0800
committerJakub Kicinski <[email protected]>2024-03-05 19:25:36 -0800
commite3350ba4a5b7573d4e14ee1dff8c414646435a04 (patch)
treead05234d59ce057a59f94105729c044efa6b24d8 /lib/crypto/mpi/mpi-mul.c
parent6d0f77a0e3eec7a23a48297901cc4e4a89649cb6 (diff)
selftests: avoid using SKIP(exit()) in harness fixure setup
selftest harness uses various exit codes to signal test results. Avoid calling exit() directly, otherwise tests may get broken by harness refactoring (like the commit under Fixes). SKIP() will instruct the harness that the test shouldn't run, it used to not be the case, but that has been fixed. So just return, no need to exit. Note that for hmm-tests this actually changes the result from pass to skip. Which seems fair, the test is skipped, after all. Reported-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/all/[email protected] Fixes: a724707976b0 ("selftests: kselftest_harness: use KSFT_* exit codes") Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Mark Brown <[email protected]> Tested-by: Mark Brown <[email protected]> Reviewed-by: Przemek Kitszel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions