diff mbox

PCI: fix semicolon.cocci warnings

Message ID alpine.DEB.2.20.1803070932460.6924@hadrien (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Julia Lawall March 7, 2018, 8:34 a.m. UTC
From: Fengguang Wu <fengguang.wu@intel.com>

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
pci-header-cleanup
head:   40fb7646c6ec16d2fd3de422be876baca9edf86a
commit: c44f2aed62c2314f1c0ecda606716090b73cc730 [4/5] PCI: improve
compile test coverage
:::::: branch date: 9 hours ago
:::::: commit date: 9 hours ago


 pcie-rcar.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lorenzo Pieralisi March 14, 2018, 11:30 a.m. UTC | #1
On Wed, Mar 07, 2018 at 09:34:29AM +0100, Julia Lawall wrote:
> From: Fengguang Wu <fengguang.wu@intel.com>
> 
>  Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
> ---
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
> pci-header-cleanup
> head:   40fb7646c6ec16d2fd3de422be876baca9edf86a
> commit: c44f2aed62c2314f1c0ecda606716090b73cc730 [4/5] PCI: improve
> compile test coverage
> :::::: branch date: 9 hours ago
> :::::: commit date: 9 hours ago
> 
> 
>  pcie-rcar.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Hi Julia,

FYI, I marked this as superseded in patchwork since Rob already posted
it as part of this series, I will pick it up from there:

https://patchwork.ozlabs.org/project/linux-pci/list/?series=32449

Thanks,
Lorenzo

> --- a/drivers/pci/host/pcie-rcar.c
> +++ b/drivers/pci/host/pcie-rcar.c
> @@ -435,7 +435,7 @@ static void rcar_pcie_force_speedup(stru
>  		}
> 
>  		msleep(1);
> -	};
> +	}
> 
>  	dev_err(dev, "Speed change timed out\n");
>
diff mbox

Patch

--- a/drivers/pci/host/pcie-rcar.c
+++ b/drivers/pci/host/pcie-rcar.c
@@ -435,7 +435,7 @@  static void rcar_pcie_force_speedup(stru
 		}

 		msleep(1);
-	};
+	}

 	dev_err(dev, "Speed change timed out\n");