PCI: rockchip: Indent an if statement
Subsystems (3)
PATCH 1/1 PCI: rockchip: Indent an if statement
The if statement wasn't intended. Add a tab.
Signed-off-by Dan Carpenter <[email protected]>
drivers/pci/host/pcie-rockchip.c +1 -1
@@ -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))
Quoted 3 lines · Dan Carpenter
The if statement wasn't intended. Add a tab.
Signed-off-by Dan Carpenter <[email protected]>
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@@ -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
Bjorn Helgaas
AppliedQuoted 3 lines · Dan Carpenter
The if statement wasn't intended. Add a tab.
Signed-off-by Dan Carpenter <[email protected]>
Applied to pci/host-rockchip for v4.9, thanks, Dan.
Quoted 17 lines
drivers/pci/host/pcie-rockchip.c +1
-2@@ -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