kselftest: fix doc for ksft_test_result_report()

Fix documentation to reference ksft_test_result_report() instead of
ksft_test_result().

Link: https://lore.kernel.org/r/20260505182213.22924-1-woradorn.laon@gmail.com
Signed-off-by: Woradorn Laodhanadhaworn <woradorn.laon@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
Woradorn Laodhanadhaworn authored and Shuah Khan committed 2026-05-05 12:39:43 -06:00
1 parent 08d592641e
commit 5f4974231f
1 file changed
+2 -2
+2 -2
View File
@@ -346,9 +346,9 @@ void ksft_test_result_code(int exit_code, const char *test_name,
}
/**
* ksft_test_result() - Report test success based on truth of condition
* ksft_test_result_report() - Report test result based on a kselftest exit code
*
* @condition: if true, report test success, otherwise failure.
* @result: a kselftest exit code
*/
#define ksft_test_result_report(result, fmt, ...) do { \
switch (result) { \