Re: [PATCH] kernel:ptrace - Fix typo in comment in function __ptrace_unlink().

From: Oleg Nesterov
Date: Sun May 24 2015 - 14:48:36 EST


So this "fix" is wrong.

But you know, even if it was correct... IMO, the fixes like this can
only make sense as a "while at it" part of the meaningful change.

On 05/23, Shailendra Verma wrote:
>
> Signed-off-by: Shailendra Verma <shailendra.capricorn@xxxxxxxxx>
> ---
> kernel/ptrace.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/ptrace.c b/kernel/ptrace.c
> index c8e0e05..46249f9 100644
> --- a/kernel/ptrace.c
> +++ b/kernel/ptrace.c
> @@ -108,7 +108,7 @@ void __ptrace_unlink(struct task_struct *child)
>
> /*
> * If transition to TASK_STOPPED is pending or in TASK_TRACED, kick
> - * @child in the butt. Note that @resume should be used iff @child
> + * @child in the butt. Note that @resume should be used if @child
> * is in TASK_TRACED; otherwise, we might unduly disrupt
> * TASK_KILLABLE sleeps.
> */
> --
> 1.7.9.5
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/