Skip to contentSkip to conversation

kselftest: Add missing signature to the comments

PATCH In review Muhammad Usama Anjum 2 participants 2 messages Apr 4, 2024 Kselftest

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kselftest: Add missing signature to the comments

The comment on top of the file is used by many developers to glance over all the available functions. Add the recently added ksft_perror() to it.

---
 tools/testing/selftests/kselftest.h | 1 +
 1 file changed, 1 insertion(+)
tools/testing/selftests/kselftest.h +1 -0
index 7d650a06ca359..159bf8e314fa3 100644
@@ -16,6 +16,7 @@
  * For each test, report any progress, debugging, etc with:
  *
  *     ksft_print_msg(fmt, ...);
+ *     ksft_perror(msg);
  *
  * and finally report the pass/fail/skip/xfail state of the test with one of:
  *
Signature · 1 line
2.39.2
maintainer
#1 lore raw
Quoted 13 lines · Muhammad Usama Anjum

The comment on top of the file is used by many developers to glance over all the available functions. Add the recently added ksft_perror() to it.

---
  tools/testing/selftests/kselftest.h | 1 +
  1 file changed, 1 insertion(+)
tools/testing/selftests/kselftest.h +0 -0
index 7d650a06ca359..159bf8e314fa3 100644

tools/testing/selftests/kselftest.h line 22

Quoted 7 lines
tools/testing/selftests/kselftest.h +1 -0
@@ -16,6 +16,7 @@
   * For each test, report any progress, debugging, etc with:
   *
   *     ksft_print_msg(fmt, ...);
+ *     ksft_perror(msg);
   *
   * and finally report the pass/fail/skip/xfail state of the test with one of:
   *

Thank you. Applied to linux-kselftest next for Linux 6.10-rc1

thanks,
-- Shuah