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

Signed-off-by: Marco Ammon <[email protected]>
---
 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

Reply via email to