Re: [PATCH] usb: gadget: langwell_udc: Fix error path

From: Rahul Ruikar
Date: Thu Oct 07 2010 - 14:20:13 EST


Ok no problem.
I had sent it because yesterday you asked me to send it again.

- Rahul Ruikar





On 7 October 2010 23:21, Greg KH <greg@xxxxxxxxx> wrote:
> On Thu, Oct 07, 2010 at 09:22:06AM +0530, Rahul Ruikar wrote:
>> Fix for following cases
>> - Call device_unregister() only when device_register() succeeds.
>> - Call put_device() when device_register() fails.
>> - Call device_remove_file() only when device_create_file() succeeds.
>>
>> Signed-off-by: Rahul Ruikar <rahul.ruikar@xxxxxxxxx>
>> ---
>>  drivers/usb/gadget/langwell_udc.c |   14 +++++++++++---
>>  drivers/usb/gadget/langwell_udc.h |    4 +++-
>>  2 files changed, 14 insertions(+), 4 deletions(-)
>
> This patch doesn't apply at all to my tree.  Can you redo it against the
> latest linux-next release?
>
> thanks,
>
> greg k-h
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/