Re: [PATCH V2] kprobes: Correct a typo in function kprobes_module_callback

From: Masami Hiramatsu
Date: Wed Oct 07 2020 - 23:35:19 EST


On Thu, 8 Oct 2020 03:13:57 +0000
Zhouyi Zhou <zhouzhouyi@xxxxxxxxx> wrote:

> There is a tiny typo in comment of function kprobes_module_callback.
>
> Signed-off-by: Zhouyi Zhou <zhouzhouyi@xxxxxxxxx>

Thanks for reporting!

Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>


> ---
> kernel/kprobes.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/kprobes.c b/kernel/kprobes.c
> index e995541..9d2042b 100644
> --- a/kernel/kprobes.c
> +++ b/kernel/kprobes.c
> @@ -2432,7 +2432,7 @@ static int kprobes_module_callback(struct notifier_block *nb,
> within_module_core((unsigned long)p->addr, mod))) {
> /*
> * The vaddr this probe is installed will soon
> - * be vfreed buy not synced to disk. Hence,
> + * be vfreed but not synced to disk. Hence,
> * disarming the breakpoint isn't needed.
> *
> * Note, this will also move any optimized probes
> --
> 1.7.1
>


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>