* [PATCH] ehci: fix missing kfree in remove path also
@ 2009-12-16 13:36 Ajay Kumar Gupta
2009-12-28 23:42 ` Tony Lindgren
0 siblings, 1 reply; 3+ messages in thread
From: Ajay Kumar Gupta @ 2009-12-16 13:36 UTC (permalink / raw)
To: linux-omap; +Cc: felipe.balbi, Ajay Kumar Gupta
Added missing kfree() in ehci_hcd_omap_remove().
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ehci: fix missing kfree in remove path also
2009-12-16 13:36 [PATCH] ehci: fix missing kfree in remove path also Ajay Kumar Gupta
@ 2009-12-28 23:42 ` Tony Lindgren
2009-12-29 12:50 ` Felipe Balbi
0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2009-12-28 23:42 UTC (permalink / raw)
To: Ajay Kumar Gupta; +Cc: linux-omap, felipe.balbi
* 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ehci: fix missing kfree in remove path also
2009-12-28 23:42 ` Tony Lindgren
@ 2009-12-29 12:50 ` Felipe Balbi
0 siblings, 0 replies; 3+ messages in thread
From: Felipe Balbi @ 2009-12-29 12:50 UTC (permalink / raw)
To: ext Tony Lindgren
Cc: Ajay Kumar Gupta, linux-omap@vger.kernel.org,
Balbi Felipe (Nokia-D/Helsinki)
On Tue, Dec 29, 2009 at 12:42:18AM +0100, ext Tony Lindgren wrote:
>* 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.
it was sent to Greg already, thanks
--
balbi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-29 12:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-16 13:36 [PATCH] ehci: fix missing kfree in remove path also Ajay Kumar Gupta
2009-12-28 23:42 ` Tony Lindgren
2009-12-29 12:50 ` Felipe Balbi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox