On Don, 27 Sep 2001, Nemosoft Unv. wrote:
> Personally, I say the above piece of code is faulty. Refering to a
> pointer after you appearently deleted it, is just very bad programming
> practice. 
> 
> I�d say, fix the usb-uhci file, and do a quick run on all other instances
> of list_del. I think most programmers got it right, or 2.4.10 kernels would
> be coming down all over the planet.

Anybody has already used the reverse patch:
--- v2.4.10/linux/include/linux/list.h   Fri Feb 16 16:06:17 2001
+++ linux/include/linux/list.h  Sun Sep 23 10:31:02 2001
@@ -90,6 +92,7 @@
 static __inline__ void list_del(struct list_head *entry)
 {
        __list_del(entry->prev, entry->next);
-       entry->next = entry->prev = 0;
 }
 
 /**


And can tell us if it works?

Best wishes

Norbert

-----------------------------------------------------------------------
Norbert Preining <[EMAIL PROTECTED]> 
University of Technology Vienna, Austria            gpg DSA: 0x09C5B094
-----------------------------------------------------------------------
TEGUCIGALPA (n.)

An embarrassing mistake arising out of confusing the shape of
something rather rude with something perfectly ordinary when groping
for it in the darkness. A common example of a tegucigalpa is when a
woman pulls a packet of Tampax out of her bag and offers them around
under the impression that it is a carton of cigarettes.

                        --- Douglas Adams, The Meaning of Liff 

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to