[PATCH v2] selftests/pidfd: fix typo in comment

Ziyu Chen posted 1 patch 2 weeks, 3 days ago
tools/testing/selftests/pidfd/pidfd_info_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] selftests/pidfd: fix typo in comment
Posted by Ziyu Chen 2 weeks, 3 days ago
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").

Suggested-by: Cryolitia PukNgae <cryolitia@uniontech.com>
Signed-off-by: Ziyu Chen <chenziyu@uniontech.com>
---
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(-)

diff --git a/tools/testing/selftests/pidfd/pidfd_info_test.c b/tools/testing/selftests/pidfd/pidfd_info_test.c
index 6571e04acd88..8bed951e06a0 100644
--- a/tools/testing/selftests/pidfd/pidfd_info_test.c
+++ b/tools/testing/selftests/pidfd/pidfd_info_test.c
@@ -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;
 }
-- 
2.20.1

Re: [PATCH v2] selftests/pidfd: fix typo in comment
Posted by Shuah 2 weeks, 2 days ago
On 1/21/26 02:41, Ziyu Chen wrote:
> 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").
> 
> Suggested-by: Cryolitia PukNgae <cryolitia@uniontech.com>
> Signed-off-by: Ziyu Chen <chenziyu@uniontech.com>
> ---
> 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(-)
> 
> diff --git a/tools/testing/selftests/pidfd/pidfd_info_test.c b/tools/testing/selftests/pidfd/pidfd_info_test.c
> index 6571e04acd88..8bed951e06a0 100644
> --- a/tools/testing/selftests/pidfd/pidfd_info_test.c
> +++ b/tools/testing/selftests/pidfd/pidfd_info_test.c
> @@ -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