PATCH: DRIVERNAME SUPPRESSED DUE TO KERNEL.ORG FILTER BUGS

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Mar 27 2003 - 13:20:58 EST


Fix up 3w-xxxx. I didnt test SMP and it shows

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.66-bk3/drivers/scsi/3w-xxxx.c linux-2.5.66-ac1/drivers/scsi/3w-xxxx.c
--- linux-2.5.66-bk3/drivers/scsi/3w-xxxx.c 2003-03-27 17:13:11.000000000 +0000
+++ linux-2.5.66-ac1/drivers/scsi/3w-xxxx.c 2003-03-26 20:10:23.000000000 +0000
@@ -677,7 +677,7 @@
                         dprintk(KERN_WARNING "3w-xxxx: tw_chrdev_ioctl(): caught TW_AEN_LISTEN.\n");
                         memset(tw_ioctl->data_buffer, 0, tw_ioctl->data_buffer_length);
 
- spin_lock_irqsave(&tw_dev->host->host_lock, flags);
+ spin_lock_irqsave(tw_dev->host->host_lock, flags);
                         if (tw_dev->aen_head == tw_dev->aen_tail) {
                                 tw_aen_code = TW_AEN_QUEUE_EMPTY;
                         } else {
@@ -688,7 +688,7 @@
                                         tw_dev->aen_head = tw_dev->aen_head + 1;
                                 }
                         }
- spin_unlock_irqrestore(&tw_dev->tw_lock, flags);
+ spin_unlock_irqrestore(tw_dev->host->host_lock, flags);
                         memcpy(tw_ioctl->data_buffer, &tw_aen_code, sizeof(tw_aen_code));
                         break;
                 case TW_CMD_PACKET_WITH_DATA:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:28 EST