On Tue, Dec 16, 2003 at 07:57:11PM +0100, Olaf Hering wrote:
> ...
> kobject 'devices' does not have a release() function, it is broken and must be fixed.
> ...
> 
> this happens if I rmmod usb modules, like:
> pear:~ # rmmod hid {e,o,u}hci_hcd ; umount -v usbdevfs && rmmod -v
> usbcore
> ERROR: Module hid does not exist in /proc/modules
> ERROR: Module ehci_hcd does not exist in /proc/modules
> ERROR: Module ohci_hcd does not exist in /proc/modules
> ERROR: Module uhci_hcd does not exist in /proc/modules
> usbdevfs umounted
> rmmod usbcore, wait=no
> 
> Sources come from Gregs usb-2.5 tree. Maybe the else branch in
> kobject_cleanup() is bogus?

No, it's not bogus, it's there to help me when writing code.  Also to
bug me to fix sysfs to add the ability to create directories easily
without requireing a kobject for them.  If I do that, then this patch is
valid :)

You can safely ignore it for any kobject that is only a directory, and
not a "real" kobject.

thanks,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to