ehci: fix missing kfree in remove path also
Subsystems (3)
PATCH 1/1 ehci: fix missing kfree in remove path also
Added missing kfree() in ehci_hcd_omap_remove().
Signed-off-by Ajay Kumar Gupta <[email protected]>
--- drivers/usb/host/ehci-omap.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/usb/host/ehci-omap.c +1 -0
@@ -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 ; }
Signature · 1 line
1.6.2.4
Quoted 1 line · Ajay Kumar Gupta
Added missing
kfree()inehci_hcd_omap_remove().
This should get merged via linux-usb list.
Regards,
Tony
Quoted 24 lines
Signed-off-by Ajay Kumar Gupta <[email protected]>--- drivers/usb/host/ehci-omap.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/usb/host/ehci-omap.c +1
-0@@ -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 ; }Signature · 6 lines
1.6.2.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · ext Tony Lindgren
Quoted 1 line · Ajay Kumar Gupta
Added missing
kfree()inehci_hcd_omap_remove().This should get merged via linux-usb list.
it was sent to Greg already, thanks
Signature · 1 line
balbi