Re: [PATCH RESEND 1/4] usb: ehci-s5p: fix memleak when devm_usb_get_phy fail

2013-05-09 Thread Alan Stern
On Thu, 9 May 2013, Libo Chen wrote: > When devm_usb_get_phy fail, we should free hcd > > Signed-off-by: Libo Chen > --- > drivers/usb/host/ehci-s5p.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c > index

[PATCH RESEND 1/4] usb: ehci-s5p: fix memleak when devm_usb_get_phy fail

2013-05-08 Thread Libo Chen
When devm_usb_get_phy fail, we should free hcd Signed-off-by: Libo Chen --- drivers/usb/host/ehci-s5p.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index 6357752..3fbab58 100644 --- a/drivers/usb/host/ehci-s5p