Messages in this thread Patch in this message | | | Date | Sat, 5 Jan 2002 03:24:47 -0800 | From | "Adam J. Richter" <> | Subject | Patch: linux-2.5.2-pre8/drivers/scsi/pci2000.c fix for typo to make it compile |
| |
The following patch fixes a typo in linux-2.5.2-pre8/drivers/scsi/pci2000.c, where the author was apparently trying to release shost->host_lock, but accidentally specified the nonexistant field shost->host_flag. As a result, pci2000.c did not compile. shost->host_lock matches the corresponding spin_lock_irqsave call.
-- Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104 adam@yggdrasil.com \ / San Jose, California 95129-1034 +1 408 261-6630 | g g d r a s i l United States of America fax +1 408 261-6631 "Free Software For The Rest Of Us." --- linux-2.5.2-pre8/drivers/scsi/pci2000.c Fri Jan 4 19:40:37 2002 +++ linux/drivers/scsi/pci2000.c Sat Jan 5 03:19:53 2002 @@ -389,7 +402,7 @@ OpDone (SCpnt, DID_OK << 16); irq_return: - spin_unlock_irqrestore(&shost->host_flag, flags); + spin_unlock_irqrestore(&shost->host_lock, flags); out:; } /**************************************************************** | |