2022-06-22 14:46:29

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] KVM: s390: drop unexpected word 'and' in the comments

there is an unexpected word 'and' in the comments that need to be dropped

file: arch/s390/kvm/interrupt.c
line: 705

* Subsystem damage are the only two and and are indicated by

changed to:

* Subsystem damage are the only two and are indicated by

Signed-off-by: Jiang Jian <[email protected]>
---
arch/s390/kvm/interrupt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
index af96dc0549a4..1e3fb2d4d448 100644
--- a/arch/s390/kvm/interrupt.c
+++ b/arch/s390/kvm/interrupt.c
@@ -702,7 +702,7 @@ static int __must_check __deliver_machine_check(struct kvm_vcpu *vcpu)
/*
* We indicate floating repressible conditions along with
* other pending conditions. Channel Report Pending and Channel
- * Subsystem damage are the only two and and are indicated by
+ * Subsystem damage are the only two and are indicated by
* bits in mcic and masked in cr14.
*/
if (test_and_clear_bit(IRQ_PEND_MCHK_REP, &fi->pending_irqs)) {
--
2.17.1


2022-06-23 07:02:32

by Janosch Frank

[permalink] [raw]
Subject: Re: [PATCH] KVM: s390: drop unexpected word 'and' in the comments

On 6/22/22 16:07, Jiang Jian wrote:
> there is an unexpected word 'and' in the comments that need to be dropped
>
> file: arch/s390/kvm/interrupt.c
> line: 705
>
> * Subsystem damage are the only two and and are indicated by
>
> changed to:
>
> * Subsystem damage are the only two and are indicated by
>
> Signed-off-by: Jiang Jian <[email protected]>

Thanks, queued

> ---
> arch/s390/kvm/interrupt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
> index af96dc0549a4..1e3fb2d4d448 100644
> --- a/arch/s390/kvm/interrupt.c
> +++ b/arch/s390/kvm/interrupt.c
> @@ -702,7 +702,7 @@ static int __must_check __deliver_machine_check(struct kvm_vcpu *vcpu)
> /*
> * We indicate floating repressible conditions along with
> * other pending conditions. Channel Report Pending and Channel
> - * Subsystem damage are the only two and and are indicated by
> + * Subsystem damage are the only two and are indicated by
> * bits in mcic and masked in cr14.
> */
> if (test_and_clear_bit(IRQ_PEND_MCHK_REP, &fi->pending_irqs)) {