lkml.org 
[lkml]   [2015]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernel:ptrace - Fix typo in comment in function __ptrace_unlink().
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@gmail.com>
> ---
> 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
>



\
 
 \ /
  Last update: 2015-05-24 21:21    [W:0.036 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site