lkml.org 
[lkml]   [2002]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPatch: 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:;
}
/****************************************************************
\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.031 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site