lkml.org 
[lkml]   [2021]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] Fix spelling error in arch/powerpc/kernel/traps.c
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@gmail.com>
---
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;
--
\
 
 \ /
  Last update: 2021-08-20 21:00    [W:0.026 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site