All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Ajay Kumar Gupta <ajay.gupta@ti.com>
Cc: linux-omap@vger.kernel.org, felipe.balbi@nokia.com
Subject: Re: [PATCH] ehci: fix missing kfree in remove path also
Date: Mon, 28 Dec 2009 15:42:18 -0800	[thread overview]
Message-ID: <20091228234218.GS3512@atomide.com> (raw)
In-Reply-To: <1260970570-28536-1-git-send-email-ajay.gupta@ti.com>

* Ajay Kumar Gupta <ajay.gupta@ti.com> [091216 05:35]:
> Added missing kfree() in ehci_hcd_omap_remove().

This should get merged via linux-usb list.

Regards,

Tony
 
> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
> ---
>  drivers/usb/host/ehci-omap.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
> index 74d07f4..2460f0d 100644
> --- a/drivers/usb/host/ehci-omap.c
> +++ b/drivers/usb/host/ehci-omap.c
> @@ -681,6 +681,7 @@ static int ehci_hcd_omap_remove(struct platform_device *pdev)
>  	iounmap(omap->tll_base);
>  	iounmap(omap->uhh_base);
>  	usb_put_hcd(hcd);
> +	kfree(omap);
>  
>  	return 0;
>  }
> -- 
> 1.6.2.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-12-28 23:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-16 13:36 [PATCH] ehci: fix missing kfree in remove path also Ajay Kumar Gupta
2009-12-28 23:42 ` Tony Lindgren [this message]
2009-12-29 12:50   ` Felipe Balbi

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=20091228234218.GS3512@atomide.com \
    --to=tony@atomide.com \
    --cc=ajay.gupta@ti.com \
    --cc=felipe.balbi@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    /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.