Skip to contentSkip to conversation

PATCH: ahci - readability tweak

PATCH Applied Alan Cox 2 participants 2 messages Oct 16, 2006 – Oct 21, 2006 libata

lore
Share & tools
lore

Alan Cox

author
#0 lore raw
drivers/ata/ahci.c +1 -1
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.19-rc1-mm1/drivers/ata/ahci.c linux-2.6.19-rc1-mm1/drivers/ata/ahci.c
@@ -1046,7 +1046,7 @@
 	/* 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 */