mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ata: pata_serverworks: "foo * bar" should be "foo *bar"
       [not found] <tencent_FAA8D636BA8369FE01896CB144F12E543905@qq.com>
@ 2023-07-19  1:54 ` hanyu001
  2023-07-19  9:43   ` Damien Le Moal
  0 siblings, 1 reply; 2+ messages in thread
From: hanyu001 @ 2023-07-19  1:54 UTC (permalink / raw)
  To: dlemoal; +Cc: linux-ide, linux-kernel

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 <hanyu001@208suo.com>
---
  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 b348784..549ff24 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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ata: pata_serverworks: "foo * bar" should be "foo *bar"
  2023-07-19  1:54 ` [PATCH] ata: pata_serverworks: "foo * bar" should be "foo *bar" hanyu001
@ 2023-07-19  9:43   ` Damien Le Moal
  0 siblings, 0 replies; 2+ messages in thread
From: Damien Le Moal @ 2023-07-19  9:43 UTC (permalink / raw)
  To: hanyu001; +Cc: linux-ide, linux-kernel

On 7/19/23 10:54, hanyu001@208suo.com wrote:
> 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 <hanyu001@208suo.com>

Please stop sending patches like this. I will not apply such patch
unless you actually fix a bug or a compilation warning.

> ---
>  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 b348784..549ff24 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);

-- 
Damien Le Moal
Western Digital Research


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-19  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_FAA8D636BA8369FE01896CB144F12E543905@qq.com>
2023-07-19  1:54 ` [PATCH] ata: pata_serverworks: "foo * bar" should be "foo *bar" hanyu001
2023-07-19  9:43   ` Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome