[PATCH] libata: indent and whitespace change
authorAlbert Lee <albertcc@tw.ibm.com>
Tue, 27 Sep 2005 09:34:38 +0000 (17:34 +0800)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 28 Sep 2005 15:57:29 +0000 (11:57 -0400)
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c
drivers/scsi/sata_promise.c

index e5b01997117a9965249cb734b7c00f43b7d9bbd8..cc68f5706acf6ad6bc9e1518a4fc771b3a0eb967 100644 (file)
@@ -3586,7 +3586,7 @@ u8 ata_bmdma_status(struct ata_port *ap)
                void __iomem *mmio = (void __iomem *) ap->ioaddr.bmdma_addr;
                host_stat = readb(mmio + ATA_DMA_STATUS);
        } else
-       host_stat = inb(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS);
+               host_stat = inb(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS);
        return host_stat;
 }
 
index 538ad727bd2eb897c32cad017dcad8e11701d6bf..def7e0d9dacb591a88d26a69574c706bd6092c66 100644 (file)
@@ -438,11 +438,11 @@ static inline unsigned int pdc_host_intr( struct ata_port *ap,
                break;
 
         default:
-                ap->stats.idle_irq++;
-                break;
+               ap->stats.idle_irq++;
+               break;
         }
 
-        return handled;
+       return handled;
 }
 
 static void pdc_irq_clear(struct ata_port *ap)