2023-07-18 09:39:34

by hanyu001

[permalink] [raw]
Subject: [PATCH] ata: "foo * bar" should be "foo *bar"

This patch fixes the checkpatch.pl error:

./drivers/ata/pata_serverworks.c:305: ERROR: "foo * bar" should be "foo
*bar"

Signed-off-by: Yu Han <[email protected]>
---
drivers/ata/pata_serverworks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/pata_serverworks.c
b/drivers/ata/pata_serverworks.c
index 549ff24..b348784 100644
--- a/drivers/ata/pata_serverworks.c
+++ b/drivers/ata/pata_serverworks.c
@@ -302,7 +302,7 @@ static int serverworks_fixup_csb(struct pci_dev
*pdev)

/* Third Channel Test */
if (!(PCI_FUNC(pdev->devfn) & 1)) {
- struct pci_dev * findev = NULL;
+ struct pci_dev *findev = NULL;
u32 reg4c = 0;
findev = pci_get_device(PCI_VENDOR_ID_SERVERWORKS,
PCI_DEVICE_ID_SERVERWORKS_CSB5, NULL);


2023-07-18 10:41:29

by Sergey Shtylyov

[permalink] [raw]
Subject: Re: [PATCH] ata: "foo * bar" should be "foo *bar"

Your subject should look like:

ata: pata_serverworks: "foo * bar" should be "foo *bar"

> This patch fixes the checkpatch.pl error:
>
> ./drivers/ata/pata_serverworks.c:305: ERROR: "foo * bar" should be "foo *bar"
>
> Signed-off-by:     Yu Han <[email protected]>

Aside from the issue with the subject:

Reviewed-by: Sergey Shtylyov <[email protected]>

MBR, Sergey