Skip to contentSkip to conversation

PCI: designware: Add a blank line after declarations

PATCH Applied Jingoo Han 2 participants 2 messages Nov 12, 2014 – Nov 13, 2014 PCI

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

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

This patch fixes the following checkpatch warning.

WARNING: Missing a blank line after declarations

---
 drivers/pci/host/pcie-designware.c |    1 +
 1 file changed, 1 insertion(+)
drivers/pci/host/pcie-designware.c +1 -0
index dfed00a..f9be371 100644
@@ -380,6 +380,7 @@ int __init dw_pcie_host_init(struct pcie_port *pp)
 	/* Get the I/O and memory ranges from DT */
 	for_each_of_pci_range(&parser, &range) {
 		unsigned long restype = range.flags & IORESOURCE_TYPE_BITS;
+
 		if (restype == IORESOURCE_IO) {
 			of_pci_range_to_resource(&range, np, &pp->io);
 			pp->io.name = "I/O";
Signature · 1 line
1.7.9.5
maintainer Applied
#1 lore raw
Quoted 5 lines · Jingoo Han

This patch fixes the following checkpatch warning.

WARNING: Missing a blank line after declarations

Applied to pci/host-designware for v3.19, thanks!

Quoted 20 lines
---
 drivers/pci/host/pcie-designware.c |    1 +
 1 file changed, 1 insertion(+)
drivers/pci/host/pcie-designware.c +1 -0
index dfed00a..f9be371 100644
@@ -380,6 +380,7 @@ int __init dw_pcie_host_init(struct pcie_port *pp)
 	/* Get the I/O and memory ranges from DT */
 	for_each_of_pci_range(&parser, &range) {
 		unsigned long restype = range.flags & IORESOURCE_TYPE_BITS;
+
 		if (restype == IORESOURCE_IO) {
 			of_pci_range_to_resource(&range, np, &pp->io);
 			pp->io.name = "I/O";
Signature · 1 line
1.7.9.5