Dear All, I made an attempt to understand the USB driver sample code in usb-skeleton.c file /drivers/usb. I found in the probe function there are two reference counts being maintained. One is through usb_get_dev() and the other one is kref_init(). Is this kind of reference count implementation not redundant?
I think I can manage with either kref or usb_get_*(). Is there a reason why we use both? Regards, Mukund Jampala ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel