Skip to contentSkip to conversation

ahci: readability tweak

PATCH New [email protected] 1 participant 1 message Oct 20, 2006 libata

lore
Share & tools
lore
#0 lore raw

PATCH 8/12 ahci: readability tweak

From: Alan Cox <[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
diff -puN drivers/ata/ahci.c~ahci-readability-tweak drivers/ata/ahci.c
@@ -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 */

_