[PATCH] KVM: arm64: Fix comment typo in kvm_vcpu_finalize_sve()

Zenghui Yu posted 1 patch 4 years, 6 months ago
arch/arm64/kvm/reset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] KVM: arm64: Fix comment typo in kvm_vcpu_finalize_sve()
Posted by Zenghui Yu 4 years, 6 months ago
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>
---
 arch/arm64/kvm/reset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kvm/reset.c b/arch/arm64/kvm/reset.c
index 3d4278770525..1cd1c10b6190 100644
--- a/arch/arm64/kvm/reset.c
+++ b/arch/arm64/kvm/reset.c
@@ -101,7 +101,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() ||
-- 
2.19.1

Re: [PATCH] KVM: arm64: Fix comment typo in kvm_vcpu_finalize_sve()
Posted by Marc Zyngier 4 years, 5 months ago
On Thu, 30 Dec 2021 22:15:35 +0800, Zenghui Yu wrote:
> 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().

Applied to next, thanks!

[1/1] KVM: arm64: Fix comment typo in kvm_vcpu_finalize_sve()
      commit: e938eddbeb85f4c0c47e56cd9e09ee196ea1bc1a

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.