public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH: ahci - readability tweak
@ 2006-10-16 15:21 Alan Cox
  2006-10-21 19:19 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2006-10-16 15:21 UTC (permalink / raw)
  To: akpm, jgarzik, linux-kernel

Signed-off-by: Alan Cox <alan@redhat.com>

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
--- linux.vanilla-2.6.19-rc1-mm1/drivers/ata/ahci.c	2006-10-13 15:10:06.000000000 +0100
+++ linux-2.6.19-rc1-mm1/drivers/ata/ahci.c	2006-10-13 17:14:40.000000000 +0100
@@ -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 */


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-21 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-16 15:21 PATCH: ahci - readability tweak Alan Cox
2006-10-21 19:19 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox