aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2025-06-11 10:33:51 +0000
committerThomas Gleixner <[email protected]>2025-07-01 13:50:41 +0000
commit2c0a4428f5d6005ff0db12057cc35273593fc040 (patch)
tree8418e42807bf8641e1c7b91f7e7af771a0fca9a4 /lib/crypto/mpi/mpiutil.c
parentLinux 6.16-rc4 (diff)
downloadkernel-2c0a4428f5d6005ff0db12057cc35273593fc040.tar.gz
kernel-2c0a4428f5d6005ff0db12057cc35273593fc040.zip
selftests: vDSO: chacha: Correctly skip test if necessary
According to kselftest.h ksft_exit_skip() is not meant to be called when a plan has already been printed. Use the recommended function ksft_test_result_skip(). This fixes a bug, where the TAP output would be invalid when skipping: TAP version 13 1..1 ok 2 # SKIP Not implemented on architecture The SKIP line should start with "ok 1" as the plan only contains one test. Fixes: 3b5992eaf730 ("selftests: vDSO: unconditionally build chacha test") Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Muhammad Usama Anjum <[email protected]> Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions