sata_dwc_460ex: indent an if statement
Subsystems (2)
PATCH 1/1 sata_dwc_460ex: indent an if statement
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 <[email protected]>
drivers/ata/sata_dwc_460ex.c +1 -1
@@ -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); }
Quoted 5 lines · Dan Carpenter
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 <[email protected]>
Reviewed-by Andy Shevchenko <[email protected]>
Quoted 14 lines
drivers/ata/sata_dwc_460ex.c +1
-1@@ -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); }
Signature · 2 lines
Andy Shevchenko <[email protected]> Intel Finland Oy
Tejun Heo
AppliedQuoted 5 lines · Dan Carpenter
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 <[email protected]>
Applied to libata/for-4.1.
Thanks.
Signature · 1 line
tejun