mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] KVM: arm64:space required before the open parenthesis '('
       [not found] <tencent_40330B3E7AF84464D54533700BA6A0EF3F08@qq.com>
@ 2023-07-14  4:44 ` chenqingyun001
  0 siblings, 0 replies; only message in thread
From: chenqingyun001 @ 2023-07-14  4:44 UTC (permalink / raw)
  To: maz, oliver.upton, catalin.marinas, will
  Cc: kvmarm, linux-kernel, james.morse, suzuki.poulose, yuzenghui

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@208suo.com>
---
  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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-14  4:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_40330B3E7AF84464D54533700BA6A0EF3F08@qq.com>
2023-07-14  4:44 ` [PATCH] KVM: arm64:space required before the open parenthesis '(' chenqingyun001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®