Skip to content

Commit 5f49742

Browse files
lookharmshuahkh
authored andcommitted
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>
1 parent 08d5926 commit 5f49742

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/testing/selftests/kselftest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,9 @@ void ksft_test_result_code(int exit_code, const char *test_name,
346346
}
347347

348348
/**
349-
* ksft_test_result() - Report test success based on truth of condition
349+
* ksft_test_result_report() - Report test result based on a kselftest exit code
350350
*
351-
* @condition: if true, report test success, otherwise failure.
351+
* @result: a kselftest exit code
352352
*/
353353
#define ksft_test_result_report(result, fmt, ...) do { \
354354
switch (result) { \

0 commit comments

Comments
 (0)