lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <46eb0d5df76c8ac67c752d747b58be55@208suo.com>
Date:   Fri, 14 Jul 2023 12:44:31 +0800
From:   chenqingyun001@...suo.com
To:     maz@...nel.org, oliver.upton@...ux.dev, catalin.marinas@....com,
        will@...nel.org
Cc:     kvmarm@...ts.linux.dev, linux-kernel@...r.kernel.org,
        james.morse@....com, suzuki.poulose@....com, yuzenghui@...wei.com
Subject: [PATCH] KVM: arm64:space required before the open parenthesis '('

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ