]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
selftests: vDSO: vdso_test_abi: Use ksft_finished()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 12 Aug 2025 05:39:04 +0000 (07:39 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 9 Sep 2025 08:57:39 +0000 (10:57 +0200)
The existing logic is just an open-coded ksft_finished().
Replace it with the real thing.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250812-vdso-tests-fixes-v2-3-90f499dd35f8@linutronix.de
tools/testing/selftests/vDSO/vdso_test_abi.c

index 67cbfc56e4e1b0edce50d37ae145a054e304892a..b989167ec2472d1f8369e61f13e535b15545a6bb 100644 (file)
@@ -231,6 +231,5 @@ int main(int argc, char **argv)
 
        vdso_test_time();
 
-       ksft_print_cnts();
-       return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL;
+       ksft_finished();
 }