* [PATCH] KVM: arm64: Fix whitespace inconsistency in cpu_reg assignments
@ 2025-08-18 6:39 lingfuyi
0 siblings, 0 replies; only message in thread
From: lingfuyi @ 2025-08-18 6:39 UTC (permalink / raw)
To: maz, oliver.upton
Cc: joey.gouly, suzuki.poulose, yuzenghui, catalin.marinas, will,
linux-arm-kernel, kvmarm, linux-kernel, lingfuyi
From: lingfuyi <lingfuyi@kylinos.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@kylinos.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-18 6:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-18 6:39 [PATCH] KVM: arm64: Fix whitespace inconsistency in cpu_reg assignments lingfuyi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).