[PATCH] KVM: arm64:space required before the open parenthesis '('
From: chenqingyun001
Date: Fri Jul 14 2023 - 00:44:46 EST
To make the code easier and understandable, put a space
before the opening parenthesis to distinguish functions
from parentheses for other purposes. Doing so can also
avoid some potential errors or ambiguities.
Signed-off-by: Qingyun Chen <chenqingyun001@xxxxxxxxxx>
---
arch/arm64/kvm/inject_fault.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kvm/inject_fault.c
b/arch/arm64/kvm/inject_fault.c
index 0bd93a5f21ce..3cc891c0b292 100644
--- a/arch/arm64/kvm/inject_fault.c
+++ b/arch/arm64/kvm/inject_fault.c
@@ -29,7 +29,7 @@ static void pend_sync_exception(struct kvm_vcpu *vcpu)
* changing context, and the exception itself can be delayed
* until the next entry.
*/
- switch(*vcpu_cpsr(vcpu) & PSR_MODE_MASK) {
+ switch (*vcpu_cpsr(vcpu) & PSR_MODE_MASK) {
case PSR_MODE_EL2h:
case PSR_MODE_EL2t:
kvm_pend_exception(vcpu, EXCEPT_AA64_EL2_SYNC);