All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Rahul Ruikar <rahul.ruikar@gmail.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>,
	Greg Kroah-Hartman <gregkh@suse.de>,
	Joe Perches <joe@perches.com>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: gadget: langwell_udc: Fix error path
Date: Thu, 7 Oct 2010 10:51:03 -0700	[thread overview]
Message-ID: <20101007175103.GA31639@kroah.com> (raw)
In-Reply-To: <1286423526-2777-1-git-send-email-rahul.ruikar@gmail.com>

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

  parent reply	other threads:[~2010-10-07 17:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-07  3:52 [PATCH] usb: gadget: langwell_udc: Fix error path Rahul Ruikar
2010-10-07  3:54 ` Rahul Ruikar
2010-10-07 17:51 ` Greg KH [this message]
2010-10-07 18:19   ` Rahul Ruikar
2010-10-07 20:48     ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2010-10-05 18:20 Rahul Ruikar
2010-10-05 19:17 ` Sergei Shtylyov
2010-10-06  2:34   ` Rahul Ruikar
2010-10-06 20:21     ` Greg KH
2010-10-07  3:55       ` Rahul Ruikar
2010-10-03 13:49 Rahul Ruikar
2010-10-04 10:44 ` Sergei Shtylyov
2010-10-04 10:52   ` Rahul Ruikar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101007175103.GA31639@kroah.com \
    --to=greg@kroah.com \
    --cc=dbrownell@users.sourceforge.net \
    --cc=gregkh@suse.de \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=rahul.ruikar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.