Skip to contentSkip to conversation

kprobes: Correct a typo in function kprobes_module_callback

PATCH In review Zhouyi Zhou 3 participants 3 messages Oct 8, 2020 kprobes

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 kprobes: Correct a typo in function kprobes_module_callback

There is a tiny typo in comment of function kprobes_module_callback.

---
 kernel/kprobes.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/kprobes.c +1 -1
index e995541..9d2042b 100644
@@ -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
Signature · 1 line
1.7.1
Acked-by on v2 1/1
#1 lore raw
Quoted 3 lines · Zhouyi Zhou

There is a tiny typo in comment of function kprobes_module_callback.

Thanks.

Quoted 18 lines
---
 kernel/kprobes.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/kprobes.c +1 -1
index e995541..9d2042b 100644
@@ -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
Signature · 1 line
~Randy
maintainer Acked-by on v2 1/1
#2 lore raw
In reply to Zhouyi Zhou
Quoted 3 lines · On Thu, 8 Oct 2020 03:13:57 +0000 Zhouyi Zhou <[email protected]> wrote:

There is a tiny typo in comment of function kprobes_module_callback.

Thanks for reporting!

Quoted 20 lines
---
 kernel/kprobes.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/kprobes.c +1 -1
index e995541..9d2042b 100644
@@ -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
Signature · 1 line
1.7.1
Signature · 1 line
Masami Hiramatsu <[email protected]>