2022-06-29 07:54:03

by Zhang Jiaming

[permalink] [raw]
Subject: [PATCH] exec: Fix a spelling mistake

Change 'wont't' to 'won't'.

Signed-off-by: Zhang Jiaming <[email protected]>
---
fs/exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/exec.c b/fs/exec.c
index 96b9847fca99..5f0656e10b5d 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1156,7 +1156,7 @@ static int de_thread(struct task_struct *tsk)
/*
* We are going to release_task()->ptrace_unlink() silently,
* the tracer can sleep in do_wait(). EXIT_DEAD guarantees
- * the tracer wont't block again waiting for this thread.
+ * the tracer won't block again waiting for this thread.
*/
if (unlikely(leader->ptrace))
__wake_up_parent(leader, leader->parent);
--
2.34.1


2022-06-30 01:32:27

by Souptick Joarder

[permalink] [raw]
Subject: Re: [PATCH] exec: Fix a spelling mistake

On Wed, Jun 29, 2022 at 1:07 PM Zhang Jiaming <[email protected]> wrote:
>
> Change 'wont't' to 'won't'.
>
> Signed-off-by: Zhang Jiaming <[email protected]>

Reviewed-by: Souptick Joarder (HPE) <[email protected]>
> ---
> fs/exec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/exec.c b/fs/exec.c
> index 96b9847fca99..5f0656e10b5d 100644
> --- a/fs/exec.c
> +++ b/fs/exec.c
> @@ -1156,7 +1156,7 @@ static int de_thread(struct task_struct *tsk)
> /*
> * We are going to release_task()->ptrace_unlink() silently,
> * the tracer can sleep in do_wait(). EXIT_DEAD guarantees
> - * the tracer wont't block again waiting for this thread.
> + * the tracer won't block again waiting for this thread.
> */
> if (unlikely(leader->ptrace))
> __wake_up_parent(leader, leader->parent);
> --
> 2.34.1
>
>

2022-07-01 22:17:57

by Kees Cook

[permalink] [raw]
Subject: Re: [PATCH] exec: Fix a spelling mistake

On Wed, 29 Jun 2022 15:29:32 +0800, Zhang Jiaming wrote:
> Change 'wont't' to 'won't'.

Applied to for-next/execve, thanks!

[1/1] exec: Fix a spelling mistake
https://git.kernel.org/kees/c/5036793d7dbd

--
Kees Cook