[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250818063942.1900014-1-lingfuyi@126.com>
Date: Mon, 18 Aug 2025 06:39:42 +0000
From: lingfuyi@....com
To: maz@...nel.org,
oliver.upton@...ux.dev
Cc: joey.gouly@....com,
suzuki.poulose@....com,
yuzenghui@...wei.com,
catalin.marinas@....com,
will@...nel.org,
linux-arm-kernel@...ts.infradead.org,
kvmarm@...ts.linux.dev,
linux-kernel@...r.kernel.org,
lingfuyi <lingfuyi@...inos.cn>
Subject: [PATCH] KVM: arm64: Fix whitespace inconsistency in cpu_reg assignments
From: lingfuyi <lingfuyi@...inos.cn>
Several cpu_reg() assignments had inconsistent spacing around the '='
operator. Some lines had double spaces while others used single space.
Standardize to single space for better code consistency.
This is a pure formatting fix with no functional changes.
Signed-off-by: lingfuyi <lingfuyi@...inos.cn>
---
arch/arm64/kvm/hyp/nvhe/hyp-main.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/kvm/hyp/nvhe/hyp-main.c b/arch/arm64/kvm/hyp/nvhe/hyp-main.c
index 3206b2c07f82..cfe7a82730a7 100644
--- a/arch/arm64/kvm/hyp/nvhe/hyp-main.c
+++ b/arch/arm64/kvm/hyp/nvhe/hyp-main.c
@@ -232,7 +232,7 @@ static void handle___kvm_vcpu_run(struct kvm_cpu_context *host_ctxt)
fpsimd_lazy_switch_to_host(vcpu);
}
out:
- cpu_reg(host_ctxt, 1) = ret;
+ cpu_reg(host_ctxt, 1) = ret;
}
static int pkvm_refill_memcache(struct pkvm_hyp_vcpu *hyp_vcpu)
@@ -266,7 +266,7 @@ static void handle___pkvm_host_share_guest(struct kvm_cpu_context *host_ctxt)
ret = __pkvm_host_share_guest(pfn, gfn, nr_pages, hyp_vcpu, prot);
out:
- cpu_reg(host_ctxt, 1) = ret;
+ cpu_reg(host_ctxt, 1) = ret;
}
static void handle___pkvm_host_unshare_guest(struct kvm_cpu_context *host_ctxt)
@@ -287,7 +287,7 @@ static void handle___pkvm_host_unshare_guest(struct kvm_cpu_context *host_ctxt)
ret = __pkvm_host_unshare_guest(gfn, nr_pages, hyp_vm);
put_pkvm_hyp_vm(hyp_vm);
out:
- cpu_reg(host_ctxt, 1) = ret;
+ cpu_reg(host_ctxt, 1) = ret;
}
static void handle___pkvm_host_relax_perms_guest(struct kvm_cpu_context *host_ctxt)
@@ -367,7 +367,7 @@ static void handle___pkvm_host_mkyoung_guest(struct kvm_cpu_context *host_ctxt)
ret = __pkvm_host_mkyoung_guest(gfn, hyp_vcpu);
out:
- cpu_reg(host_ctxt, 1) = ret;
+ cpu_reg(host_ctxt, 1) = ret;
}
static void handle___kvm_adjust_pc(struct kvm_cpu_context *host_ctxt)
--
2.34.1
Powered by blists - more mailing lists