Re: [PATCH] PCI: designware: Add a blank line after declarations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux