KVM: arm64: Fix comment typo in kvm_vcpu_finalize_sve()
authorZenghui Yu <yuzenghui@huawei.com>
Thu, 30 Dec 2021 14:15:35 +0000 (22:15 +0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 4 Jan 2022 13:41:25 +0000 (13:41 +0000)
kvm_arm_init_arch_resources() was renamed to kvm_arm_init_sve() in
commit a3be836df7cb ("KVM: arm/arm64: Demote
kvm_arm_init_arch_resources() to just set up SVE"). Fix the function
name in comment of kvm_vcpu_finalize_sve().

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211230141535.1389-1-yuzenghui@huawei.com
arch/arm64/kvm/reset.c

index 2bbfeadeb6ae532985ca6eee916a5b39a7004e12..34d7c5d54e5bce213236096da90432e93ed75103 100644 (file)
@@ -99,7 +99,7 @@ static int kvm_vcpu_finalize_sve(struct kvm_vcpu *vcpu)
 
        /*
         * Responsibility for these properties is shared between
-        * kvm_arm_init_arch_resources(), kvm_vcpu_enable_sve() and
+        * kvm_arm_init_sve(), kvm_vcpu_enable_sve() and
         * set_sve_vls().  Double-check here just to be sure:
         */
        if (WARN_ON(!sve_vl_valid(vl) || vl > sve_max_virtualisable_vl() ||