Message ID | 20161012105409.GA19070@mwanda (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 2016/10/12 18:54, Dan Carpenter wrote: > The if statement wasn't intended. Add a tab. > > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> 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. :) > > 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)) > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip >
On Wed, Oct 12, 2016 at 01:54:09PM +0300, Dan Carpenter wrote: > The if statement wasn't intended. Add a tab. > > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Applied to pci/host-rockchip for v4.9, thanks, Dan. > 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)) > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
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))
The if statement wasn't intended. Add a tab. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>