Skip to contentSkip to conversation

PCI: fix semicolon.cocci warnings

PATCH In review Julia Lawall 2 participants 2 messages Mar 7, 2018 – Mar 14, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: fix semicolon.cocci warnings

From: Fengguang Wu <[email protected]>

Remove unneeded semicolon.

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

---

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(-)
drivers/pci/host/pcie-rcar.c +1 -1
@@ -435,7 +435,7 @@ static void rcar_pcie_force_speedup(stru
 		}
 
 		msleep(1);
-	};
+	}
 
 	dev_err(dev, "Speed change timed out\n");
#1 lore raw
Quoted 14 lines · Julia Lawall

From: Fengguang Wu <[email protected]>

Remove unneeded semicolon.

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

---

tree: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
pci-header-cleanup

head:   40fb7646c6ec16d2fd3de422be876baca9edf86a
commit: c44f2aed62c2314f1c0ecda606716090b73cc730 [4/5] PCI: improve
Quoted 7 lines

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

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