Re: question on comment in usb_device_poll()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 12, 2010 at 09:16:11PM +0100, Oliver Neukum wrote:
> Hi,
> 
> what does this comment refer to?
> 
> 		/*
> 		 * need to prevent the module from being unloaded, since
> 		 * proc_unregister does not call the release method and
> 		 * we would have a memory leak
> 		 */
> 
> Is "the module" referred to here usbcore?

Yes, but as this is only for the debugfs file, I wouldn't really worry
about it anymore.  I think this comment was for when the file originally
was part of the proc filesystem.

But it's some wierd logic, I really don't know what it is trying to keep
from happening.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux