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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <c5c33e6e390f6784b5599b8ea13b8e01@208suo.com>
Date:   Tue, 18 Jul 2023 17:02:39 +0800
From:   hanyu001@...suo.com
To:     agust@...x.de, mpe@...erman.id.au, npiggin@...il.com,
        christophe.leroy@...roup.eu, andriy.shevchenko@...ux.intel.com,
        bhelgaas@...gle.com, kw@...ux.com, mika.westerberg@...ux.intel.com
Cc:     linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH] platforms: 52xx: Remove space after '(' and before ')'

The patch fixes the following errors detected by checkpatch:

platforms/52xx/mpc52xx_pci.c:346:ERROR: space prohibited after that open 
parenthesis '('
platforms/52xx/mpc52xx_pci.c:347:ERROR: space prohibited after that open 
parenthesis '('
platforms/52xx/mpc52xx_pci.c:348:ERROR: space prohibited before that 
close parenthesis ')'

Signed-off-by: Yu Han <hanyu001@...suo.com>
---
  arch/powerpc/platforms/52xx/mpc52xx_pci.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pci.c 
b/arch/powerpc/platforms/52xx/mpc52xx_pci.c
index 0ca4401ba781..452723f8ba53 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_pci.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_pci.c
@@ -343,9 +343,9 @@ mpc52xx_pci_fixup_resources(struct pci_dev *dev)

      /* The PCI Host bridge of MPC52xx has a prefetch memory resource
         fixed to 1Gb. Doesn't fit in the resource system so we remove it 
*/
-    if ( (dev->vendor == PCI_VENDOR_ID_MOTOROLA) &&
-         (   dev->device == PCI_DEVICE_ID_MOTOROLA_MPC5200
-          || dev->device == PCI_DEVICE_ID_MOTOROLA_MPC5200B) ) {
+    if ((dev->vendor == PCI_VENDOR_ID_MOTOROLA) &&
+         (dev->device == PCI_DEVICE_ID_MOTOROLA_MPC5200
+          || dev->device == PCI_DEVICE_ID_MOTOROLA_MPC5200B)) {
          struct resource *res = &dev->resource[1];
          res->start = res->end = res->flags = 0;
      }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ