ahci: readability tweak
PATCH 8/12 ahci: readability tweak
From: Alan Cox <[email protected]>
Signed-off-by Alan Cox <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc Tejun Heo <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/ata/ahci.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/ata/ahci.c renamed from drivers/ata/ahci.c~ahci-readability-tweak +1 -1
@@ -1041,7 +1041,7 @@ static void ahci_host_intr(struct ata_po/* hmmm... a spurious interupt */ /* some devices send D2H reg with I bit set during NCQ command phase */ -if (ap->sactive && status &PORT_IRQ_D2H_REG_FIS ) +if (ap->sactive && (status &PORT_IRQ_D2H_REG_FIS ))return ;/* ignore interim PIO setup fis interrupts */
_