Message ID | 002a01cffe28$87fb3d10$97f1b730$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On Wed, Nov 12, 2014 at 12:27:04PM +0900, Jingoo Han wrote: > This patch fixes the following checkpatch warning. > > WARNING: Missing a blank line after declarations > > Signed-off-by: Jingoo Han <jg1.han@samsung.com> Applied to pci/host-designware for v3.19, thanks! > --- > drivers/pci/host/pcie-designware.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c > index dfed00a..f9be371 100644 > --- a/drivers/pci/host/pcie-designware.c > +++ b/drivers/pci/host/pcie-designware.c > @@ -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"; > -- > 1.7.9.5 > > -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index dfed00a..f9be371 100644 --- a/drivers/pci/host/pcie-designware.c +++ b/drivers/pci/host/pcie-designware.c @@ -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";
This patch fixes the following checkpatch warning. WARNING: Missing a blank line after declarations Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/pci/host/pcie-designware.c | 1 + 1 file changed, 1 insertion(+)