Skip to contentSkip to conversation

PCI: mvebu: Add a blank line after declarations

PATCH In review Jingoo Han 3 participants 3 messages Nov 12, 2014 – Nov 13, 2014 PCI

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH 1/1 PCI: mvebu: Add a blank line after declarations

This patch fixes the following checkpatch warning.

WARNING: Missing a blank line after declarations

---
 drivers/pci/host/pci-mvebu.c |    3 +++
 1 file changed, 3 insertions(+)
drivers/pci/host/pci-mvebu.c +3 -0
index b1315e1..0c775afa 100644
@@ -622,6 +622,7 @@ static struct mvebu_pcie_port *mvebu_pcie_find_port(struct mvebu_pcie *pcie,
 
 	for (i = 0; i < pcie->nports; i++) {
 		struct mvebu_pcie_port *port = &pcie->ports[i];
+
 		if (bus->number == 0 && port->devfn == devfn)
 			return port;
 		if (bus->number != 0 &&
@@ -751,6 +752,7 @@ static int mvebu_pcie_setup(int nr, struct pci_sys_data *sys)
 
 	for (i = 0; i < pcie->nports; i++) {
 		struct mvebu_pcie_port *port = &pcie->ports[i];
+
 		if (!port->base)
 			continue;
 		mvebu_pcie_setup_hw(port);
@@ -777,6 +779,7 @@ static struct pci_bus *mvebu_pcie_scan_bus(int nr, struct pci_sys_data *sys)
 static void mvebu_pcie_add_bus(struct pci_bus *bus)
 {
 	struct mvebu_pcie *pcie = sys_to_pcie(bus->sysdata);
+
 	bus->msi = pcie->msi;
 }
 
Signature · 1 line
1.7.9.5
maintainer
#2 lore raw
In reply to Jingoo Han
Quoted 5 lines · Jingoo Han

This patch fixes the following checkpatch warning.

WARNING: Missing a blank line after declarations

Applied with Jason's ack to pci/host-mvebu for v3.19, thanks!

I dropped the mvebu_pcie_add_bus() hunk because I have a patch in pci/msi that removes that function altogether.

Quoted 36 lines
---
 drivers/pci/host/pci-mvebu.c |    3 +++
 1 file changed, 3 insertions(+)
drivers/pci/host/pci-mvebu.c +3 -0
index b1315e1..0c775afa 100644
@@ -622,6 +622,7 @@ static struct mvebu_pcie_port *mvebu_pcie_find_port(struct mvebu_pcie *pcie,
 
 	for (i = 0; i < pcie->nports; i++) {
 		struct mvebu_pcie_port *port = &pcie->ports[i];
+
 		if (bus->number == 0 && port->devfn == devfn)
 			return port;
 		if (bus->number != 0 &&
@@ -751,6 +752,7 @@ static int mvebu_pcie_setup(int nr, struct pci_sys_data *sys)
 
 	for (i = 0; i < pcie->nports; i++) {
 		struct mvebu_pcie_port *port = &pcie->ports[i];
+
 		if (!port->base)
 			continue;
 		mvebu_pcie_setup_hw(port);
@@ -777,6 +779,7 @@ static struct pci_bus *mvebu_pcie_scan_bus(int nr, struct pci_sys_data *sys)
 static void mvebu_pcie_add_bus(struct pci_bus *bus)
 {
 	struct mvebu_pcie *pcie = sys_to_pcie(bus->sysdata);
+
 	bus->msi = pcie->msi;
 }
 
Signature · 1 line
1.7.9.5