[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220728124117.56528-1-zduo006@163.com>
Date: Thu, 28 Jul 2022 20:41:16 +0800
From: zhangduo <zduo006@....com>
To: zduo006@....com
Cc: anil.s.keshavamurthy@...el.com, davem@...emloft.net,
linux-kernel@...r.kernel.org, mhiramat@...nel.org,
naveen.n.rao@...ux.ibm.com, zhangduo@...inos.cn
Subject: [PATCH 1/2] kprobes: fix the comments error
From: zhangduo <zhangduo@...inos.cn>
fix the comments to 'Copy the insn slot of ap to p'
Signed-off-by: zhangduo <zhangduo@...inos.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
Powered by blists - more mailing lists