On 5/5/26 12:22, Woradorn Laodhanadhaworn wrote:
Fix documentation to reference ksft_test_result_report() instead of
ksft_test_result().

Signed-off-by: Woradorn Laodhanadhaworn <[email protected]>
---
  tools/testing/selftests/kselftest.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/kselftest.h 
b/tools/testing/selftests/kselftest.h
index 6d809f08ab7b..b50a8478d4d3 100644
--- a/tools/testing/selftests/kselftest.h
+++ b/tools/testing/selftests/kselftest.h
@@ -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) {                                       \

Applied to linx_kselftest next branch for Linux 7.2-rc1

thanks,
-- Shuah

Reply via email to