RE: [PATCH 04/10] usb/gadget: add some infracture to register/unregister functions

2012-10-22 Thread Andrzej Pietrasiewicz
On Monday, October 22, 2012 1:03 PM Sebastian Andrzej Siewior wrote: > * Andrzej Pietrasiewicz | 2012-10-18 13:17:18 [+0200]: > > >Hello Sebastian, > Hi Andrzej, > > > This should not happen, I should have put the module. > > >Even if the caller did call usb_put_function, the uf->mod is no

Re: [PATCH 04/10] usb/gadget: add some infracture to register/unregister functions

2012-10-22 Thread Sebastian Andrzej Siewior
* Andrzej Pietrasiewicz | 2012-10-18 13:17:18 [+0200]: >Hello Sebastian, Hi Andrzej, >Thank you for the patches. By no means am I questioning your work; >I have a question, though. Please see inline. Feel free to question my work. If you have a better idea of doing something, feel free to bring

RE: [PATCH 04/10] usb/gadget: add some infracture to register/unregister functions

2012-10-18 Thread Andrzej Pietrasiewicz
Hello Sebastian, Thank you for the patches. By no means am I questioning your work; I have a question, though. Please see inline. On Wednesday, October 17, 2012 9:07 PM Sebastian Andrzej Siewior wrote: > +static struct usb_function *try_get_usb_function(const char *name) > +{ > + struct us