2022-07-24 06:01:38

by wangjianli

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

From: Jianli Wang <[email protected]>

Delete the redundant word 'do'.

Signed-off-by: Jianli Wang <[email protected]>
---
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


2022-07-25 02:37:45

by Segher Boessenkool

[permalink] [raw]
Subject: Re: [PATCH] KVM: PPC: Book3S HV:fix repeated words in comments

On Sun, Jul 24, 2022 at 01:41:37PM +0800, wangjianli wrote:
> From: Jianli Wang <[email protected]>
>
> 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