Skip to contentSkip to conversation

powerpc: Fixing typo in comment

PATCH In review Mukesh Kumar Chaurasiya 1 participant 2 messages May 28, 2025 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Fixing typo in comment

fixing a typo where iff is supposed to be if.

---
 arch/powerpc/kernel/exceptions-64s.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/kernel/exceptions-64s.S +1 -1
index b7229430ca94..53667dc7fe1a 100644
@@ -393,7 +393,7 @@ DEFINE_FIXED_SYMBOL(\name\()_common_real, text)
 	.endif
 
 	ld	r10,PACAKMSR(r13)	/* get MSR value for kernel */
-	/* MSR[RI] is clear iff using SRR regs */
+	/* MSR[RI] is clear if using SRR regs */
 	.if IHSRR_IF_HVMODE
 	BEGIN_FTR_SECTION
 	xori	r10,r10,MSR_RI
Signature · 1 line
2.49.0
#1 lore raw
Quoted 2 lines · Mukesh Kumar Chaurasiya

fixing a typo where iff is supposed to be if.

I just realized its if and only if. Please ignore.

Quoted 21 lines
---
 arch/powerpc/kernel/exceptions-64s.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/kernel/exceptions-64s.S +1 -1
index b7229430ca94..53667dc7fe1a 100644
@@ -393,7 +393,7 @@ DEFINE_FIXED_SYMBOL(\name\()_common_real, text)
 	.endif
 
 	ld	r10,PACAKMSR(r13)	/* get MSR value for kernel */
-	/* MSR[RI] is clear iff using SRR regs */
+	/* MSR[RI] is clear if using SRR regs */
 	.if IHSRR_IF_HVMODE
 	BEGIN_FTR_SECTION
 	xori	r10,r10,MSR_RI
Signature · 1 line
2.49.0