lkml.org 
[lkml]   [2010]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 7 Oct 2010 10:51:03 -0700
FromGreg KH <>
SubjectRe: [PATCH] usb: gadget: langwell_udc: Fix error path
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@gmail.com>
> ---
> 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


\
 
 \ /
  Last update: 2010-10-07 19:59    [from the cache]
©2003-2010