[PATCH] KVM: PPC: Book3S HV:fix repeated words in comments

wangjianli posted 1 patch 3 years, 8 months ago
arch/powerpc/kvm/book3s_hv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] KVM: PPC: Book3S HV:fix repeated words in comments
Posted by wangjianli 3 years, 8 months ago
From: Jianli Wang <wangjianli@cdjrlc.com>

Delete the redundant word 'do'.

Signed-off-by: Jianli Wang <wangjianli@cdjrlc.com>
---
 arch/powerpc/kvm/book3s_hv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c
index e08fb3124dca..17d79be6077d 100644
--- a/arch/powerpc/kvm/book3s_hv.c
+++ b/arch/powerpc/kvm/book3s_hv.c
@@ -5643,7 +5643,7 @@ static int kvmppc_clr_passthru_irq(struct kvm *kvm, int host_irq, int guest_gsi)
 	else
 		kvmppc_xics_clr_mapped(kvm, guest_gsi, pimap->mapped[i].r_hwirq);
 
-	/* invalidate the entry (what do do on error from the above ?) */
+	/* invalidate the entry (what do on error from the above ?) */
 	pimap->mapped[i].r_hwirq = 0;
 
 	/*
-- 
2.25.1
Re: [PATCH] KVM: PPC: Book3S HV:fix repeated words in comments
Posted by Segher Boessenkool 3 years, 8 months ago
On Sun, Jul 24, 2022 at 01:41:37PM +0800, wangjianli wrote:
> From: Jianli Wang <wangjianli@cdjrlc.com>
> 
> Delete the redundant word 'do'.

> -	/* invalidate the entry (what do do on error from the above ?) */
> +	/* invalidate the entry (what do on error from the above ?) */

Probably "what to do" was meant here?


Segher