mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2] kprobes: Correct a typo in function kprobes_module_callback
@ 2020-10-08  3:13 Zhouyi Zhou
  2020-10-08  3:16 ` Randy Dunlap
  2020-10-08  3:35 ` Masami Hiramatsu
  0 siblings, 2 replies; 3+ messages in thread
From: Zhouyi Zhou @ 2020-10-08  3:13 UTC (permalink / raw)
  To: naveen.n.rao, anil.s.keshavamurthy, davem, mhiramat,
	linux-kernel, rdunlap
  Cc: Zhouyi Zhou

There is a tiny typo in comment of function kprobes_module_callback.

Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
---
 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH V2] kprobes: Correct a typo in function kprobes_module_callback
  2020-10-08  3:13 [PATCH V2] kprobes: Correct a typo in function kprobes_module_callback Zhouyi Zhou
@ 2020-10-08  3:16 ` Randy Dunlap
  2020-10-08  3:35 ` Masami Hiramatsu
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-10-08  3:16 UTC (permalink / raw)
  To: Zhouyi Zhou, naveen.n.rao, anil.s.keshavamurthy, davem, mhiramat,
	linux-kernel

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@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH V2] kprobes: Correct a typo in function kprobes_module_callback
  2020-10-08  3:13 [PATCH V2] kprobes: Correct a typo in function kprobes_module_callback Zhouyi Zhou
  2020-10-08  3:16 ` Randy Dunlap
@ 2020-10-08  3:35 ` Masami Hiramatsu
  1 sibling, 0 replies; 3+ messages in thread
From: Masami Hiramatsu @ 2020-10-08  3:35 UTC (permalink / raw)
  To: Zhouyi Zhou
  Cc: naveen.n.rao, anil.s.keshavamurthy, davem, linux-kernel, rdunlap

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

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

Thanks for reporting!

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


> ---
>  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@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-08  3:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08  3:13 [PATCH V2] kprobes: Correct a typo in function kprobes_module_callback Zhouyi Zhou
2020-10-08  3:16 ` Randy Dunlap
2020-10-08  3:35 ` Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®