[PATCH] kprobes: fix typo in comment

Julia Lawall posted 1 patch 3 years, 11 months ago
kernel/kprobes.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] kprobes: fix typo in comment
Posted by Julia Lawall 3 years, 11 months ago
Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 kernel/kprobes.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index dd58c0be9ce2..4721b76e61a1 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -651,7 +651,7 @@ void wait_for_kprobe_optimizer(void)
 	while (!list_empty(&optimizing_list) || !list_empty(&unoptimizing_list)) {
 		mutex_unlock(&kprobe_mutex);
 
-		/* This will also make 'optimizing_work' execute immmediately */
+		/* This will also make 'optimizing_work' execute immediately */
 		flush_delayed_work(&optimizing_work);
 		/* 'optimizing_work' might not have been queued yet, relax */
 		cpu_relax();
Re: [PATCH] kprobes: fix typo in comment
Posted by Masami Hiramatsu (Google) 3 years, 11 months ago
On Sat, 21 May 2022 13:11:13 +0200
Julia Lawall <Julia.Lawall@inria.fr> wrote:

> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

Looks good to me.

Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Thank you!

> 
> ---
>  kernel/kprobes.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/kprobes.c b/kernel/kprobes.c
> index dd58c0be9ce2..4721b76e61a1 100644
> --- a/kernel/kprobes.c
> +++ b/kernel/kprobes.c
> @@ -651,7 +651,7 @@ void wait_for_kprobe_optimizer(void)
>  	while (!list_empty(&optimizing_list) || !list_empty(&unoptimizing_list)) {
>  		mutex_unlock(&kprobe_mutex);
>  
> -		/* This will also make 'optimizing_work' execute immmediately */
> +		/* This will also make 'optimizing_work' execute immediately */
>  		flush_delayed_work(&optimizing_work);
>  		/* 'optimizing_work' might not have been queued yet, relax */
>  		cpu_relax();
> 


-- 
Masami Hiramatsu (Google) <mhiramat@kernel.org>