KVM: arm64: Fix comments related to GICv2 PMR reporting
authorJason Wang <wangborong@cdjrlc.com>
Wed, 28 Jul 2021 13:06:23 +0000 (21:06 +0800)
committerMarc Zyngier <maz@kernel.org>
Mon, 2 Aug 2021 13:49:39 +0000 (14:49 +0100)
Remove the repeated word 'the' from two comments.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210728130623.12017-1-wangborong@cdjrlc.com
arch/arm64/kvm/vgic/vgic-mmio-v2.c

index a016f07..5f9014a 100644 (file)
@@ -282,7 +282,7 @@ static unsigned long vgic_mmio_read_vcpuif(struct kvm_vcpu *vcpu,
        case GIC_CPU_PRIMASK:
                /*
                 * Our KVM_DEV_TYPE_ARM_VGIC_V2 device ABI exports the
-                * the PMR field as GICH_VMCR.VMPriMask rather than
+                * PMR field as GICH_VMCR.VMPriMask rather than
                 * GICC_PMR.Priority, so we expose the upper five bits of
                 * priority mask to userspace using the lower bits in the
                 * unsigned long.
@@ -329,7 +329,7 @@ static void vgic_mmio_write_vcpuif(struct kvm_vcpu *vcpu,
        case GIC_CPU_PRIMASK:
                /*
                 * Our KVM_DEV_TYPE_ARM_VGIC_V2 device ABI exports the
-                * the PMR field as GICH_VMCR.VMPriMask rather than
+                * PMR field as GICH_VMCR.VMPriMask rather than
                 * GICC_PMR.Priority, so we expose the upper five bits of
                 * priority mask to userspace using the lower bits in the
                 * unsigned long.