This patch (as799) fixes a nasty refcount error in the USB endpoint class.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
---
Greg, didn't you write this? Shame, shame... :-)
Index: usb-2.6/drivers/usb/core/endpoint.c
===================================================================
--- usb-2.6.orig/drivers/usb/core/endpoint.c
+++ usb-2.6/drivers/usb/core/endpoint.c
@@ -282,8 +280,6 @@ void usb_remove_ep_files(struct usb_host
sysfs_remove_group(&endpoint->ep_dev->dev.kobj,
&ep_dev_attr_grp);
device_unregister(&endpoint->ep_dev->dev);
endpoint->ep_dev = NULL;
+ destroy_endpoint_class();
}
- destroy_endpoint_class();
}
-
-
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel