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:
1 parent
08d592641e
commit
5f4974231f
1 file changed
+2
-2
@@ -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) { \
|
||||
|
||||
Reference in new issue
Block a user