summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/kprobes/core.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-05-12 19:58:31 +0200
committerIngo Molnar <mingo@kernel.org>2021-05-12 20:00:51 +0200
commitc43426334b3169b6c9e6855483aa7384ff09fd33 (patch)
treebb4fc34eaafc27892f3e25feed34c1e0185c5125 /arch/x86/kernel/kprobes/core.c
parent6f0d271d21c5dc12b78cc7d8b241a5acbca5589f (diff)
downloadlinux-c43426334b3169b6c9e6855483aa7384ff09fd33.tar.bz2
x86: Fix leftover comment typos
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/kprobes/core.c')
-rw-r--r--arch/x86/kernel/kprobes/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/kprobes/core.c b/arch/x86/kernel/kprobes/core.c
index d3d65545cb8b..7c4d0736a998 100644
--- a/arch/x86/kernel/kprobes/core.c
+++ b/arch/x86/kernel/kprobes/core.c
@@ -674,7 +674,7 @@ static int prepare_emulation(struct kprobe *p, struct insn *insn)
break;
if (insn->addr_bytes != sizeof(unsigned long))
- return -EOPNOTSUPP; /* Don't support differnt size */
+ return -EOPNOTSUPP; /* Don't support different size */
if (X86_MODRM_MOD(opcode) != 3)
return -EOPNOTSUPP; /* TODO: support memory addressing */