linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: designware: Add a blank line after declarations
@ 2014-11-12  3:27 Jingoo Han
  2014-11-13 17:52 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Jingoo Han @ 2014-11-12  3:27 UTC (permalink / raw)
  To: 'Bjorn Helgaas'
  Cc: linux-pci, 'Mohit Kumar', 'Jingoo Han'

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(+)

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] PCI: designware: Add a blank line after declarations
  2014-11-12  3:27 [PATCH] PCI: designware: Add a blank line after declarations Jingoo Han
@ 2014-11-13 17:52 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2014-11-13 17:52 UTC (permalink / raw)
  To: Jingoo Han; +Cc: linux-pci, 'Mohit Kumar'

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-13 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12  3:27 [PATCH] PCI: designware: Add a blank line after declarations Jingoo Han
2014-11-13 17:52 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).