All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] PCI: rockchip: Indent an if statement
@ 2016-10-12 10:54 ` Dan Carpenter
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Carpenter @ 2016-10-12 10:54 UTC (permalink / raw)
  To: Shawn Lin
  Cc: Wenrui Li, Bjorn Helgaas, Heiko Stuebner, linux-pci,
	linux-rockchip, kernel-janitors

The if statement wasn't intended.  Add a tab.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c
index b8c82fc..f54ef1e 100644
--- a/drivers/pci/host/pcie-rockchip.c
+++ b/drivers/pci/host/pcie-rockchip.c
@@ -972,7 +972,7 @@ static int rockchip_pcie_prog_ob_atu(struct rockchip_pcie *rockchip,
 		return -EINVAL;
 	if (region_no = 0) {
 		if (AXI_REGION_0_SIZE < (2ULL << num_pass_bits))
-		return -EINVAL;
+			return -EINVAL;
 	}
 	if (region_no != 0) {
 		if (AXI_REGION_SIZE < (2ULL << num_pass_bits))

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

end of thread, other threads:[~2016-10-12 12:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 10:54 [patch] PCI: rockchip: Indent an if statement Dan Carpenter
2016-10-12 10:54 ` Dan Carpenter
2016-10-12 11:04 ` Shawn Lin
2016-10-12 11:04   ` Shawn Lin
2016-10-12 11:04   ` Shawn Lin
2016-10-12 12:18 ` Bjorn Helgaas
2016-10-12 12:18   ` Bjorn Helgaas
2016-10-12 12:18   ` Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.