Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757596Ab3EJBwH (ORCPT ); Thu, 9 May 2013 21:52:07 -0400 Received: from szxga01-in.huawei.com ([119.145.14.64]:16745 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756501Ab3EJBwE (ORCPT ); Thu, 9 May 2013 21:52:04 -0400 Message-ID: <518C5276.5090904@huawei.com> Date: Fri, 10 May 2013 09:50:46 +0800 From: Libo Chen User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Chris Metcalf CC: Libo Chen , , , , , , , Subject: Re: [PATCH RESEND 4/4] usb: tilegx: fix memleak when create hcd fail References: <1368079537-15328-1-git-send-email-libo.chen@huawei.com> <1368079537-15328-5-git-send-email-libo.chen@huawei.com> <518BE49D.4080602@tilera.com> <518C48AF.6070701@huawei.com> In-Reply-To: <518C48AF.6070701@huawei.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.135.72.158] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 824 Lines: 32 On 2013/5/10 9:09, Libo Chen wrote: > On 2013/5/10 2:02, Chris Metcalf wrote: >> On 5/9/2013 2:08 AM, Libo Chen wrote: >>> 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(-) >> >> Thanks; taken into the tile tree. I also made the same change to ehci-tilegx.c. >> > > Hi Chris, > > Thanks reply, May be I miss. Please ignore this patch. Sorry, this patch is ok, no problem. > > > > . > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/