kernel/kprobes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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();
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>
© 2016 - 2026 Red Hat, Inc.