Message ID | 20150330103025.GA27144@mwanda |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
On Mon, 2015-03-30 at 13:30 +0300, Dan Carpenter wrote: > We shuffled some code around in 8b3444852a2b ('sata_dwc_460ex: move to > generic DMA driver') an accidentally deleted a tab character here. It > causes a Smatch warning "if statement not indented". > > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c > index 5ab4849..9020349 100644 > --- a/drivers/ata/sata_dwc_460ex.c > +++ b/drivers/ata/sata_dwc_460ex.c > @@ -295,7 +295,7 @@ static void dma_dwc_xfer_done(void *hsdev_instance) > } > > if ((hsdevp->dma_interrupt_count % 2) == 0) > - sata_dwc_dma_xfer_complete(ap, 1); > + sata_dwc_dma_xfer_complete(ap, 1); > > spin_unlock_irqrestore(&host->lock, flags); > }
On Mon, Mar 30, 2015 at 01:30:25PM +0300, Dan Carpenter wrote: > We shuffled some code around in 8b3444852a2b ('sata_dwc_460ex: move to > generic DMA driver') an accidentally deleted a tab character here. It > causes a Smatch warning "if statement not indented". > > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Applied to libata/for-4.1. Thanks.
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c index 5ab4849..9020349 100644 --- a/drivers/ata/sata_dwc_460ex.c +++ b/drivers/ata/sata_dwc_460ex.c @@ -295,7 +295,7 @@ static void dma_dwc_xfer_done(void *hsdev_instance) } if ((hsdevp->dma_interrupt_count % 2) == 0) - sata_dwc_dma_xfer_complete(ap, 1); + sata_dwc_dma_xfer_complete(ap, 1); spin_unlock_irqrestore(&host->lock, flags); }
We shuffled some code around in 8b3444852a2b ('sata_dwc_460ex: move to generic DMA driver') an accidentally deleted a tab character here. It causes a Smatch warning "if statement not indented". Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html