Skip to contentSkip to conversation

linux willy

parisc-linux Matthew Wilcox 1 participant 1 message Sep 3, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 2 lines · Matthew Wilcox

Log message:
Unlock the lock, not the device!

Index: arch/parisc/kernel/drivers.c
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/drivers.c,v retrieving revision 1.22

09/03 18:08:14 renamed from 09/01 08:30:49 1.22 +1 -1
diff -u -p -r1.22 drivers.c
@@ -248,7 +248,7 @@ struct parisc_device *alloc_pa_dev(unsig
 
        num_devices++;
 
-       write_unlock(&pa_dev);
+       write_unlock(&pa_lock);
 
        return dev;
 }

Thanks to Ben Collins for this patch.

Signature · 1 line
Revolutions do not require corporate support.