2023-07-30 17:27:52

by Nam Cao

[permalink] [raw]
Subject: [PATCH] ARM: optprobes: fix typo "consitional"

Fix "consitional" to be "conditional".

Signed-off-by: Nam Cao <[email protected]>
---
arch/arm/probes/kprobes/opt-arm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/probes/kprobes/opt-arm.c b/arch/arm/probes/kprobes/opt-arm.c
index 7f65048380ca..bdd7264471db 100644
--- a/arch/arm/probes/kprobes/opt-arm.c
+++ b/arch/arm/probes/kprobes/opt-arm.c
@@ -307,7 +307,7 @@ void __kprobes arch_optimize_kprobes(struct list_head *oplist)

/*
* Make it a conditional branch if replaced insn
- * is consitional
+ * is conditional
*/
insn = (__mem_to_opcode_arm(
op->optinsn.copied_insn[0]) & 0xf0000000) |
--
2.34.1