[PATCH] powerpc: Fixing typo in comment

Mukesh Kumar Chaurasiya posted 1 patch 8 months, 2 weeks ago
arch/powerpc/kernel/exceptions-64s.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] powerpc: Fixing typo in comment
Posted by Mukesh Kumar Chaurasiya 8 months, 2 weeks ago
fixing a typo where iff is supposed to be if.

Signed-off-by: Mukesh Kumar Chaurasiya <mchauras@linux.ibm.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 b7229430ca94..53667dc7fe1a 100644
--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -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
-- 
2.49.0
Re: [PATCH] powerpc: Fixing typo in comment
Posted by Mukesh Kumar Chaurasiya 8 months, 2 weeks ago
On Wed, May 28, 2025 at 01:30:52PM +0530, Mukesh Kumar Chaurasiya wrote:
> fixing a typo where iff is supposed to be if.
>
I just realized its if and only if. Please ignore.
> Signed-off-by: Mukesh Kumar Chaurasiya <mchauras@linux.ibm.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 b7229430ca94..53667dc7fe1a 100644
> --- a/arch/powerpc/kernel/exceptions-64s.S
> +++ b/arch/powerpc/kernel/exceptions-64s.S
> @@ -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
> -- 
> 2.49.0
>