KVM: arm64: Fix comment typo in nvhe/switch.c
authorWei-Lin Chang <r09922117@csie.ntu.edu.tw>
Thu, 29 Sep 2022 04:28:39 +0000 (12:28 +0800)
committerMarc Zyngier <maz@kernel.org>
Thu, 29 Sep 2022 08:07:08 +0000 (09:07 +0100)
Fix the comment of __hyp_vgic_restore_state() from saying VEH to VHE,
also change the underscore to a dash to match the comment
above __hyp_vgic_save_state().

Signed-off-by: Wei-Lin Chang <r09922117@csie.ntu.edu.tw>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220929042839.24277-1-r09922117@csie.ntu.edu.tw
arch/arm64/kvm/hyp/nvhe/switch.c

index 9f638570206188bc6cc54da60ae4ca64849edb26..8e9d49a964be61690d02998ec84e06e985265f66 100644 (file)
@@ -143,7 +143,7 @@ static void __hyp_vgic_save_state(struct kvm_vcpu *vcpu)
        }
 }
 
-/* Restore VGICv3 state on non_VEH systems */
+/* Restore VGICv3 state on non-VHE systems */
 static void __hyp_vgic_restore_state(struct kvm_vcpu *vcpu)
 {
        if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) {