[PATCH 3/3] x86: kprobes: fix typo in comment

From: Marco Ammon
Date: Mon Sep 02 2019 - 06:31:24 EST


In the comment for arch_prepare_optimized_kprobe, "instuction" should
actually be "instruction". This patch fixes the typo.

Signed-off-by: Marco Ammon <marco.ammon@xxxxxx>
---
arch/x86/kernel/kprobes/opt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/kprobes/opt.c b/arch/x86/kernel/kprobes/opt.c
index 9d4aedece363..282d559121d6 100644
--- a/arch/x86/kernel/kprobes/opt.c
+++ b/arch/x86/kernel/kprobes/opt.c
@@ -403,7 +403,7 @@ int arch_prepare_optimized_kprobe(struct optimized_kprobe *op,
(u8 *)op->kp.addr + op->optinsn.size);
len += RELATIVEJUMP_SIZE;

- /* We have to use text_poke for instuction buffer because it is RO */
+ /* We have to use text_poke for instruction buffer because it is RO */
text_poke(slot, buf, len);
ret = 0;
out:
--
2.23.0