* [PATCH 2/2] kprobes: fix the comments error
@ 2022-07-22 6:25 zhangduo
2022-07-28 12:41 ` [PATCH 1/2] " zhangduo
2022-07-31 14:37 ` [PATCH 2/2] " Masami Hiramatsu
0 siblings, 2 replies; 3+ messages in thread
From: zhangduo @ 2022-07-22 6:25 UTC (permalink / raw)
To: naveen.n.rao
Cc: anil.s.keshavamurthy, davem, mhiramat, linux-kernel, zhangduo
From: zhangduo <zhangduo@kylinos.cn>
fix the comments 'Copy the insn slot of ap to p'
Signed-off-by: zhangduo <zhangduo@kylinos.cn>
---
kernel/kprobes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index f1dddc8fe..8bcef7d3c 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -1349,7 +1349,7 @@ static int register_aggr_kprobe(struct kprobe *orig_p, struct kprobe *p)
| KPROBE_FLAG_DISABLED;
}
- /* Copy the insn slot of 'p' to 'ap'. */
+ /* Copy the insn slot of 'ap' to 'p'. */
copy_kprobe(ap, p);
ret = add_new_kprobe(ap, p);
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] kprobes: fix the comments error
2022-07-22 6:25 [PATCH 2/2] kprobes: fix the comments error zhangduo
@ 2022-07-28 12:41 ` zhangduo
2022-07-31 14:37 ` [PATCH 2/2] " Masami Hiramatsu
1 sibling, 0 replies; 3+ messages in thread
From: zhangduo @ 2022-07-28 12:41 UTC (permalink / raw)
To: zduo006
Cc: anil.s.keshavamurthy, davem, linux-kernel, mhiramat,
naveen.n.rao, zhangduo
From: zhangduo <zhangduo@kylinos.cn>
fix the comments to 'Copy the insn slot of ap to p'
Signed-off-by: zhangduo <zhangduo@kylinos.cn>
---
kernel/kprobes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index f214f8c08..4f3e84343 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -1349,7 +1349,7 @@ static int register_aggr_kprobe(struct kprobe *orig_p, struct kprobe *p)
| KPROBE_FLAG_DISABLED;
}
- /* Copy the insn slot of 'p' to 'ap'. */
+ /* Copy the insn slot of 'ap' to 'p'. */
copy_kprobe(ap, p);
ret = add_new_kprobe(ap, p);
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] kprobes: fix the comments error
2022-07-22 6:25 [PATCH 2/2] kprobes: fix the comments error zhangduo
2022-07-28 12:41 ` [PATCH 1/2] " zhangduo
@ 2022-07-31 14:37 ` Masami Hiramatsu
1 sibling, 0 replies; 3+ messages in thread
From: Masami Hiramatsu @ 2022-07-31 14:37 UTC (permalink / raw)
To: zhangduo
Cc: naveen.n.rao, anil.s.keshavamurthy, davem, mhiramat,
linux-kernel, zhangduo
On Fri, 22 Jul 2022 14:25:05 +0800
zhangduo <zduo006@163.com> wrote:
> From: zhangduo <zhangduo@kylinos.cn>
>
> fix the comments 'Copy the insn slot of ap to p'
>
> Signed-off-by: zhangduo <zhangduo@kylinos.cn>
Looks good to me.
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Thanks,
> ---
> kernel/kprobes.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/kprobes.c b/kernel/kprobes.c
> index f1dddc8fe..8bcef7d3c 100644
> --- a/kernel/kprobes.c
> +++ b/kernel/kprobes.c
> @@ -1349,7 +1349,7 @@ static int register_aggr_kprobe(struct kprobe *orig_p, struct kprobe *p)
> | KPROBE_FLAG_DISABLED;
> }
>
> - /* Copy the insn slot of 'p' to 'ap'. */
> + /* Copy the insn slot of 'ap' to 'p'. */
> copy_kprobe(ap, p);
> ret = add_new_kprobe(ap, p);
>
> --
> 2.25.1
>
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-31 14:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 6:25 [PATCH 2/2] kprobes: fix the comments error zhangduo
2022-07-28 12:41 ` [PATCH 1/2] " zhangduo
2022-07-31 14:37 ` [PATCH 2/2] " Masami Hiramatsu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome