public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] USB ehci-omap: Remove second kfree() call on the same object
@ 2010-10-25 20:56 Matthias Kaehlcke
  2010-11-05 12:24 ` Felipe Balbi
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Kaehlcke @ 2010-10-25 20:56 UTC (permalink / raw)
  To: Felipe Balbi, David Brownell; +Cc: linux-usb, linux-omap

Remove second kfree() call on the same object in the error path of
ehci_hcd_omap_probe()

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
---
 drivers/usb/host/ehci-omap.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index e1da3c9..116ae28 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -734,7 +734,6 @@ err_uhh_ioremap:
 
 err_ioremap:
 	usb_put_hcd(hcd);
-	kfree(omap);
 
 err_create_hcd:
 	kfree(omap);
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] USB ehci-omap: Remove second kfree() call on the same object
  2010-10-25 20:56 [PATCH] USB ehci-omap: Remove second kfree() call on the same object Matthias Kaehlcke
@ 2010-11-05 12:24 ` Felipe Balbi
  0 siblings, 0 replies; 2+ messages in thread
From: Felipe Balbi @ 2010-11-05 12:24 UTC (permalink / raw)
  To: Matthias Kaehlcke
  Cc: Balbi, Felipe, David Brownell, linux-usb@vger.kernel.org,
	linux-omap@vger.kernel.org

On Mon, Oct 25, 2010 at 03:56:54PM -0500, Matthias Kaehlcke wrote:
>Remove second kfree() call on the same object in the error path of
>ehci_hcd_omap_probe()
>
>Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>

applied, thanks

-- 
balbi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-05 12:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 20:56 [PATCH] USB ehci-omap: Remove second kfree() call on the same object Matthias Kaehlcke
2010-11-05 12:24 ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox