diff mbox

PCI: designware: Add a blank line after declarations

Message ID 002a01cffe28$87fb3d10$97f1b730$%han@samsung.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Jingoo Han Nov. 12, 2014, 3:27 a.m. UTC
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(+)

Comments

Bjorn Helgaas Nov. 13, 2014, 5:52 p.m. UTC | #1
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 mbox

Patch

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";