summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-03-21 16:06:53 (GMT)
committerJeff Garzik <jeff@garzik.org>2006-03-22 02:21:32 (GMT)
commit23cfce8924f1e7ff1d14b8f1afd7550182026d16 (patch)
treeffee06bf9172f26a82c38e8ff4148f4547811b5d /drivers/scsi
parent88f93a31dcd950fa6b27a5721428de7e01369c06 (diff)
downloadlinux-23cfce8924f1e7ff1d14b8f1afd7550182026d16.tar.xz
[PATCH] libata: make irqtrap mode compile
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index d6b8d8e..673ddf6 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -4340,9 +4340,9 @@ idle_irq:
#ifdef ATA_IRQ_TRAP
if ((ap->stats.idle_irq % 1000) == 0) {
- handled = 1;
ata_irq_ack(ap, 0); /* debug trap */
printk(KERN_WARNING "ata%d: irq trap\n", ap->id);
+ return 1;
}
#endif
return 0; /* irq not handled */