Patch: linux-2.5.2-pre8/drivers/scsi/pci2000.c fix for typo to make it compile

Adam J. Richter (adam@yggdrasil.com)
Sat, 5 Jan 2002 03:24:47 -0800


--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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."

--jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pci2000.diff"

--- 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:; } /****************************************************************

--jRHKVT23PllUwdXP-- - 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/