Hi Greg:
Trivial fix to USB class-creation error path; please apply.
Signed-off-by: Mark M. Hoffman <[EMAIL PROTECTED]>
Index: linux-2.6.12-rc3-mm2/drivers/usb/core/file.c
===================================================================
--- linux-2.6.12-rc3-mm2.orig/drivers/usb/core/file.c 2005-05-01
08:44:29.000000000 -0400
+++ linux-2.6.12-rc3-mm2/drivers/usb/core/file.c 2005-05-02
23:16:17.000000000 -0400
@@ -82,6 +82,7 @@ int usb_major_init(void)
usb_class = class_create(THIS_MODULE, "usb");
if (IS_ERR(usb_class)) {
+ error = PTR_ERR(usb_class);
err("class_create failed for usb devices");
unregister_chrdev(USB_MAJOR, "usb");
goto out;
--
Mark M. Hoffman
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel