Skip to contentSkip to conversation

PCI: rockchip: Indent an if statement

PATCH Applied Dan Carpenter 3 participants 3 messages Oct 12, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: rockchip: Indent an if statement

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

drivers/pci/host/pcie-rockchip.c +1 -1
index b8c82fc..f54ef1e 100644
@@ -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))
#1 lore raw
Quoted 3 lines · Dan Carpenter

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

Thanks for this patch.

Currently the driver is under cleanup, so it would be fine for Bjorn to pick it up for host-rockchip branch. :)

Quoted 20 lines
drivers/pci/host/pcie-rockchip.c +1 -1
index b8c82fc..f54ef1e 100644
@@ -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))

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

Signature · 2 lines
Best Regards
Shawn Lin
#2 lore raw
In reply to Dan Carpenter
Quoted 3 lines · Dan Carpenter

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

Applied to pci/host-rockchip for v4.9, thanks, Dan.

Quoted 17 lines
drivers/pci/host/pcie-rockchip.c +1 -2
index b8c82fc..f54ef1e 100644
@@ -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))
--

To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html