[PATCH] powerpc/64s: drop unexpected word 'and' in the comments

Jiang Jian jiangjian at cdjrlc.com
Wed Jun 22 23:58:28 AEST 2022


there is an unexpected word 'and' in the comments that need to be dropped

file: arch/powerpc/kernel/exceptions-64s.S
line: 2782

* - If it was a decrementer interrupt, we bump the dec to max and and return.

changed to:

* - If it was a decrementer interrupt, we bump the dec to max and return.

Signed-off-by: Jiang Jian <jiangjian at cdjrlc.com>
---
 arch/powerpc/kernel/exceptions-64s.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S
index b66dd6f775a4..3d0dc133a9ae 100644
--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -2779,7 +2779,7 @@ EXC_COMMON_BEGIN(soft_nmi_common)
 
 /*
  * An interrupt came in while soft-disabled. We set paca->irq_happened, then:
- * - If it was a decrementer interrupt, we bump the dec to max and and return.
+ * - If it was a decrementer interrupt, we bump the dec to max and return.
  * - If it was a doorbell we return immediately since doorbells are edge
  *   triggered and won't automatically refire.
  * - If it was a HMI we return immediately since we handled it in realmode
-- 
2.17.1



More information about the Linuxppc-dev mailing list