[PATCH] selftests: kselftest: fix missing @fmt descriptions

Jaeyeon Lee posted 1 patch 1 week, 1 day ago
tools/testing/selftests/kselftest.h | 2 ++
1 file changed, 2 insertions(+)
[PATCH] selftests: kselftest: fix missing @fmt descriptions
Posted by Jaeyeon Lee 1 week, 1 day ago
Fix the missing @fmt descriptions in ksft_test_result() and
ksft_test_result_report().

Signed-off-by: Jaeyeon Lee <ljyeon9466@gmail.com>
---
 tools/testing/selftests/kselftest.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/testing/selftests/kselftest.h b/tools/testing/selftests/kselftest.h
index b50a8478d4d3..347d1b65b2b9 100644
--- a/tools/testing/selftests/kselftest.h
+++ b/tools/testing/selftests/kselftest.h
@@ -234,6 +234,7 @@ static inline __printf(1, 2) void ksft_test_result_fail(const char *msg, ...)
  * ksft_test_result() - Report test success based on truth of condition
  *
  * @condition: if true, report test success, otherwise failure.
+ * @fmt: format string for the test description
  */
 #define ksft_test_result(condition, fmt, ...) do {	\
 	if (!!(condition))				\
@@ -349,6 +350,7 @@ void ksft_test_result_code(int exit_code, const char *test_name,
  * ksft_test_result_report() - Report test result based on a kselftest exit code
  *
  * @result: a kselftest exit code
+ * @fmt: format string for the test description
  */
 #define ksft_test_result_report(result, fmt, ...) do {		\
 	switch (result) {					\
-- 
2.43.0