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

Subsystems: kernel virtual machine for powerpc (kvm/powerpc), linux for powerpc (32-bit and 64-bit), the rest

STALE1504d

2 messages, 2 authors, 2022-07-25 · open the first message on its own page

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

From: wangjianli <hidden>
Date: 2022-07-24 05:42:06

From: Jianli Wang <redacted>

Delete the redundant word 'do'.

Signed-off-by: Jianli Wang <redacted>
---
 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

From: Segher Boessenkool <hidden>
Date: 2022-07-25 01:49:09

On Sun, Jul 24, 2022 at 01:41:37PM +0800, wangjianli wrote:
From: Jianli Wang <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help