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

From: Randy Dunlap
Date: Wed Oct 07 2020 - 23:17:00 EST


On 10/7/20 8:13 PM, Zhouyi Zhou wrote:
> There is a tiny typo in comment of function kprobes_module_callback.
>
> Signed-off-by: Zhouyi Zhou <zhouzhouyi@xxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
> 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
>


--
~Randy