From: hanyu001@208suo.com
To: dlemoal@kernel.org
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] ata: remove whitespace after '(' and before ')'
Date: Tue, 18 Jul 2023 16:53:08 +0800 [thread overview]
Message-ID: <07f7ac9c59d027f959a69836fee9940c@208suo.com> (raw)
In-Reply-To: <tencent_6714ED434F83826DD33A8EE7B99064165309@qq.com>
This patch fixes the following checkpatch errors:
./drivers/ata/pata_sis.c:691: ERROR: space prohibited after that open
parenthesis '('
./drivers/ata/pata_sis.c:691: ERROR: space prohibited before that close
parenthesis ')'
Signed-off-by: Yu Han < hanyu001@208suo.com>
---
drivers/ata/pata_sis.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c
index 31de06b..2019777 100644
--- a/drivers/ata/pata_sis.c
+++ b/drivers/ata/pata_sis.c
@@ -688,7 +688,7 @@ static void sis_fixup(struct pci_dev *pdev, struct
sis_chipset *sis)
if (sis->info == &sis_info33) {
pci_read_config_byte(pdev, PCI_CLASS_PROG, ®);
- if (( reg & 0x0F ) != 0x00)
+ if ((reg & 0x0F) != 0x00)
pci_write_config_byte(pdev, PCI_CLASS_PROG, reg & 0xF0);
/* Fall through to ATA16 fixup below */
}
next parent reply other threads:[~2023-07-18 8:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <tencent_6714ED434F83826DD33A8EE7B99064165309@qq.com>
2023-07-18 8:53 ` hanyu001 [this message]
2023-07-18 9:12 ` Sergei Shtylyov
2023-07-18 9:44 ` Sergey Shtylyov
2023-07-18 10:46 ` Damien Le Moal
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=07f7ac9c59d027f959a69836fee9940c@208suo.com \
--to=hanyu001@208suo.com \
--cc=dlemoal@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®