From: hanyu001@208suo.com
To: agust@denx.de, mpe@ellerman.id.au, npiggin@gmail.com,
christophe.leroy@csgroup.eu, andriy.shevchenko@linux.intel.com,
bhelgaas@google.com, kw@linux.com,
mika.westerberg@linux.intel.com
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: [PATCH] platforms: 52xx: Remove space after '(' and before ')'
Date: Tue, 18 Jul 2023 17:02:39 +0800 [thread overview]
Message-ID: <c5c33e6e390f6784b5599b8ea13b8e01@208suo.com> (raw)
In-Reply-To: <tencent_ADAD5C6DD5F9824047356B25D53801910A06@qq.com>
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@208suo.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;
}
next parent reply other threads:[~2023-07-18 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <tencent_ADAD5C6DD5F9824047356B25D53801910A06@qq.com>
2023-07-18 9:02 ` hanyu001 [this message]
2023-07-18 14:08 ` [PATCH] platforms: 52xx: Remove space after '(' and before ')' Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5c33e6e390f6784b5599b8ea13b8e01@208suo.com \
--to=hanyu001@208suo.com \
--cc=agust@denx.de \
--cc=andriy.shevchenko@linux.intel.com \
--cc=bhelgaas@google.com \
--cc=christophe.leroy@csgroup.eu \
--cc=kw@linux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mika.westerberg@linux.intel.com \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).