Skip to contentSkip to conversation

PCI: altera: clean up indentation issue on a return statement

PATCH Applied Colin King 2 participants 2 messages Mar 27, 2020 – May 5, 2020

Subsystems (4)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 PCI: altera: clean up indentation issue on a return statement

From: Colin Ian King <[email protected]>

A return statment is indented incorrectly, remove extraneous space.

---
 drivers/pci/controller/pcie-altera.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/pcie-altera.c +1 -1
index b447c3e4abad..24cb1c331058 100644
@@ -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)
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · Colin King

From: Colin Ian King <[email protected]>

A return statment is indented incorrectly, remove extraneous space.

---
 drivers/pci/controller/pcie-altera.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to pci/altera, thanks.

Lorenzo

Quoted 16 lines
drivers/pci/controller/pcie-altera.c +1 -1
index b447c3e4abad..24cb1c331058 100644
@@ -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)
Signature · 1 line
2.25.1