Skip to content

Commit bad36e4

Browse files
Zenghui YuMarc Zyngier
authored andcommitted
KVM: arm/arm64: vgic: Fix some comments typo
Fix various comments, including wrong function names, grammar mistakes and specification references. Signed-off-by: Zenghui Yu <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9ff624c commit bad36e4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/kvm/arm_vgic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ struct vgic_dist {
240240
* Contains the attributes and gpa of the LPI configuration table.
241241
* Since we report GICR_TYPER.CommonLPIAff as 0b00, we can share
242242
* one address across all redistributors.
243-
* GICv3 spec: 6.1.2 "LPI Configuration tables"
243+
* GICv3 spec: IHI 0069E 6.1.1 "LPI Configuration tables"
244244
*/
245245
u64 propbaser;
246246

virt/kvm/arm/vgic/vgic-v3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ int vgic_v3_lpi_sync_pending_status(struct kvm *kvm, struct vgic_irq *irq)
357357
}
358358

359359
/**
360-
* vgic_its_save_pending_tables - Save the pending tables into guest RAM
360+
* vgic_v3_save_pending_tables - Save the pending tables into guest RAM
361361
* kvm lock and all vcpu lock must be held
362362
*/
363363
int vgic_v3_save_pending_tables(struct kvm *kvm)

virt/kvm/arm/vgic/vgic-v4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ int kvm_vgic_v4_set_forwarding(struct kvm *kvm, int virq,
281281

282282
mutex_lock(&its->its_lock);
283283

284-
/* Perform then actual DevID/EventID -> LPI translation. */
284+
/* Perform the actual DevID/EventID -> LPI translation. */
285285
ret = vgic_its_resolve_lpi(kvm, its, irq_entry->msi.devid,
286286
irq_entry->msi.data, &irq);
287287
if (ret)

0 commit comments

Comments
 (0)