From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0874CC433E1 for ; Tue, 18 Aug 2020 09:33:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D8B392078B for ; Tue, 18 Aug 2020 09:33:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597743182; bh=YfkTw72FvIDMBUzSglnj03NXlk3w+YSZEFz1I07KPsk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=bBcQisevErHw1hzQ4QPeJcXLdXchIbTENodYSf3wQq+42iDCiE1LEbcVlks/D0LPr R1eSdcexxxDpIm13oT7S2nMimtnLbPANvWGOTJcBzdD/aRJtEE7MJqSyGSlnycC+Xc DyR/W24VLGoV/2U583RffjEHKoBIAsgc/43/tZkU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726424AbgHRJdC (ORCPT ); Tue, 18 Aug 2020 05:33:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:37076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbgHRJc5 (ORCPT ); Tue, 18 Aug 2020 05:32:57 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 119322078B; Tue, 18 Aug 2020 09:32:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597743177; bh=YfkTw72FvIDMBUzSglnj03NXlk3w+YSZEFz1I07KPsk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rDBjZK1DjK1OBBtlKhPmRpvR+av329nZ5mvfIixwDvWfASHaowerQ+MsRGYYyaZIY I424N/rBZcnyuQxte/neE9oWj4LOVIHv7EyvS2VtLzOOoNsVH0WfDEoZwutPOnOJH2 hQZ1/JCxdoBxvzpQTF6Fzoeo9AM5425iBh9FXCYQ= Date: Tue, 18 Aug 2020 11:33:21 +0200 From: Greg KH To: Peter Chen Cc: balbi@kernel.org, linux-usb@vger.kernel.org, linux-imx@nxp.com, stern@rowland.harvard.edu Subject: Re: [PATCH v2 0/6] USB: UDC: Fix memory leaks by expanding the API Message-ID: <20200818093321.GB34785@kroah.com> References: <20200810022510.6516-1-peter.chen@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200810022510.6516-1-peter.chen@nxp.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Mon, Aug 10, 2020 at 10:25:04AM +0800, Peter Chen wrote: > This series expands the UDC API to fix some long-standing memory leaks > in the net2280 and net2272 drivers. And with expanding APIs, it could > manage cdns3 and dwc3 gadget device memory better without the hacks > at UDC core. > > Alan Stern (3): > USB: UDC: Expand device model API interface > USB: UDC: net2280: Fix memory leaks > USB: UDC: net2272: Fix memory leaks > > Peter Chen (3): > usb: cdns3: gadget: fix possible memory leak > usb: dwc3: allocate gadget structure dynamically > Revert "usb: udc: allow adding and removing the same gadget device" > Reviewed-by: Greg Kroah-Hartman