[PATCH] Fix spelling error in arch/powerpc/kernel/traps.c

From: Tech Zhou
Date: Fri Aug 20 2021 - 14:59:26 EST


I found a spelling error in arch/powerpc/kernel/traps.c. Please let me
know if you have any concerns / questions. This is my first patch!

Signed-off-by: Changjun Zhou <zhouinamerica@xxxxxxxxx>
---
arch/powerpc/kernel/traps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index d56254f05e17..7355db219269 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -1522,7 +1522,7 @@ static void do_program_check(struct pt_regs *regs)
* SIGILL. The subsequent cases all relate to emulating instructions
* which we should only do for userspace. We also do not want to enable
* interrupts for kernel faults because that might lead to further
- * faults, and loose the context of the original exception.
+ * faults, and lose the context of the original exception.
*/
if (!user_mode(regs))
goto sigill;
--