Re: [PATCH 4/4] usb: tilegx: fix memleak when create hcd fail

2013-05-16 Thread Libo Chen
Hi Greg, On 2013/5/17 8:34, Greg KH wrote: > On Thu, May 09, 2013 at 12:58:11PM +0800, Libo Chen wrote: >> From: Libo Chen >> >> When usb_create_hcd fail, we should call gxio_usb_host_destroy >> >> Signed-off-by: Libo Chen >> --- >> drivers/usb/host/ohci-tilegx.c |7 +-- >> 1 files chan

Re: [PATCH 4/4] usb: tilegx: fix memleak when create hcd fail

2013-05-16 Thread Greg KH
On Thu, May 09, 2013 at 12:58:11PM +0800, Libo Chen wrote: > From: Libo Chen > > When usb_create_hcd fail, we should call gxio_usb_host_destroy > > Signed-off-by: Libo Chen > --- > drivers/usb/host/ohci-tilegx.c |7 +-- > 1 files changed, 5 insertions(+), 2 deletions(-) This patch doe

[PATCH 4/4] usb: tilegx: fix memleak when create hcd fail

2013-05-08 Thread Libo Chen
From: Libo Chen When usb_create_hcd fail, we should call gxio_usb_host_destroy Signed-off-by: Libo Chen --- drivers/usb/host/ohci-tilegx.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ohci-tilegx.c b/drivers/usb/host/ohci-tilegx.c index 1ae7b2