linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: altera: clean up indentation issue on a return statement
@ 2020-03-27 13:45 Colin King
  2020-05-05 11:42 ` Lorenzo Pieralisi
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2020-03-27 13:45 UTC (permalink / raw)
  To: Ley Foon Tan, Lorenzo Pieralisi, Andrew Murray, Bjorn Helgaas,
	rfi, linux-pci
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

A return statment is indented incorrectly, remove extraneous space.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/pci/controller/pcie-altera.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/controller/pcie-altera.c b/drivers/pci/controller/pcie-altera.c
index b447c3e4abad..24cb1c331058 100644
--- a/drivers/pci/controller/pcie-altera.c
+++ b/drivers/pci/controller/pcie-altera.c
@@ -193,7 +193,7 @@ static bool altera_pcie_valid_device(struct altera_pcie *pcie,
 	if (bus->number == pcie->root_bus_nr && dev > 0)
 		return false;
 
-	 return true;
+	return true;
 }
 
 static int tlp_read_packet(struct altera_pcie *pcie, u32 *value)
-- 
2.25.1


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

* Re: [PATCH] PCI: altera: clean up indentation issue on a return statement
  2020-03-27 13:45 [PATCH] PCI: altera: clean up indentation issue on a return statement Colin King
@ 2020-05-05 11:42 ` Lorenzo Pieralisi
  0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Pieralisi @ 2020-05-05 11:42 UTC (permalink / raw)
  To: Colin King
  Cc: Ley Foon Tan, Andrew Murray, Bjorn Helgaas, rfi, linux-pci,
	kernel-janitors, linux-kernel

On Fri, Mar 27, 2020 at 01:45:56PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> A return statment is indented incorrectly, remove extraneous space.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/pci/controller/pcie-altera.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to pci/altera, thanks.

Lorenzo

> diff --git a/drivers/pci/controller/pcie-altera.c b/drivers/pci/controller/pcie-altera.c
> index b447c3e4abad..24cb1c331058 100644
> --- a/drivers/pci/controller/pcie-altera.c
> +++ b/drivers/pci/controller/pcie-altera.c
> @@ -193,7 +193,7 @@ static bool altera_pcie_valid_device(struct altera_pcie *pcie,
>  	if (bus->number == pcie->root_bus_nr && dev > 0)
>  		return false;
>  
> -	 return true;
> +	return true;
>  }
>  
>  static int tlp_read_packet(struct altera_pcie *pcie, u32 *value)
> -- 
> 2.25.1
> 

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

end of thread, other threads:[~2020-05-05 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-27 13:45 [PATCH] PCI: altera: clean up indentation issue on a return statement Colin King
2020-05-05 11:42 ` Lorenzo Pieralisi

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