[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-scsi
Subject:    [PATCH] add missing spin_unlock_irqrestore to qla1280.c (245ac1)
From:       Rasmus Andersen <rasmus () jaquet ! dk>
Date:       2001-05-27 20:33:59
[Download RAW message or body]

Hi.

The following patch adds a missing spin_unlock_irqrestore
to an exit path for qla1280.c as per the stanford team's
report a while back. Applies against 245ac1.


--- linux-251-ac1-clean/drivers/scsi/qla1280.c	Sat May 19 21:00:13 2001
+++ linux-251-ac1/drivers/scsi/qla1280.c	Sun May 27 22:25:37 2001
@@ -1528,6 +1528,7 @@
     if(test_and_set_bit(QLA1280_IN_ISR_BIT, &ha->flags))
     {
         COMTRACE('X')
+        spin_unlock_irqrestore(&io_request_lock, cpu_flags);
         return;
     }
     ha->isr_count++;
-- 
Regards,
        Rasmus(rasmus@jaquet.dk)

We're going to turn this team around 360 degrees.
-Jason Kidd, upon his drafting to the Dallas Mavericks
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic