selftests/pidfd: Fix comment typo already covered by spelling.txt
PATCH 1/1 selftests/pidfd: Fix comment typo already covered by spelling.txt
Fix a minor spelling issue in a comment in the pidfd info selftest. This typo is already listed in scripts/spelling.txt, but fixing it locally improves readability and avoids repeated reports.
No functional change intended.
--- tools/testing/selftests/pidfd/pidfd_info_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/pidfd/pidfd_info_test.c +1 -1
@@ -229,7 +229,7 @@ static void *pidfd_info_pause_thread(void *arg)close (ipc_socket); -/* Sleep untill we're killed. */ +/* Sleep until we'rekilled. */ pause ();return NULL ; }
Signature · 1 line
2.20.1
PATCH v2 1/1 selftests/pidfd: fix typo in comment
Fix the typo "untill" → "until" in a comment in pidfd_info_test.c.
This typo is already listed in scripts/spelling.txt by commit 66b47b4a9dad ("checkpatch: look for common misspellings").
---
v2:
- Fix unintended whitespace removal in the comment ("we're killed").
tools/testing/selftests/pidfd/pidfd_info_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/pidfd/pidfd_info_test.c +1 -1
@@ -229,7 +229,7 @@ static void *pidfd_info_pause_thread(void *arg)close (ipc_socket); -/* Sleep untill we're killed. */ +/* Sleep until we're killed. */ pause ();return NULL ; }
Signature · 1 line
2.20.1
Shuah
maintainerRe: [PATCH v2] selftests/pidfd: fix typo in comment
Quoted 18 lines · Ziyu Chen
Fix the typo "untill" → "until" in a comment in
pidfd_info_test.c.This typo is already listed in
scripts/spelling.txtby commit66b47b4a9dad("checkpatch: look for common misspellings").Suggested-by Cryolitia PukNgae <[email protected]>Signed-off-by Ziyu Chen <[email protected]>---
v2:
- Fix unintended whitespace removal in the comment ("we're killed").tools/testing/selftests/pidfd/pidfd_info_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/testing/selftests/pidfd/pidfd_info_test.c +0
-0
tools/testing/selftests/pidfd/pidfd_info_test.c static void *pidfd_info_pause_thread(void *arg) · line 235
Quoted 8 lines
tools/testing/selftests/pidfd/pidfd_info_test.c +1
-1@@ -229,7 +229,7 @@ static void *pidfd_info_pause_thread(void *arg)close (ipc_socket); -/* Sleep untill we're killed. */ +/* Sleep until we're killed. */ pause ();return NULL ; }
Applied to linux-kselftest next for the next release
thanks,
-- Shuah