[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101007175103.GA31639@kroah.com>
Date: Thu, 7 Oct 2010 10:51:03 -0700
From: Greg KH <greg@...ah.com>
To: Rahul Ruikar <rahul.ruikar@...il.com>
Cc: David Brownell <dbrownell@...rs.sourceforge.net>,
Greg Kroah-Hartman <gregkh@...e.de>,
Joe Perches <joe@...ches.com>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists