Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp261875pxb; Thu, 2 Sep 2021 03:41:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrIvnFBBPt8FZz/YamFS/7YsbkmZUIdG60HsqY1R6Kknh3a1aoSAypg6er3r3FQ5mVKjLt X-Received: by 2002:a05:6638:4122:: with SMTP id ay34mr2233410jab.131.1630579273978; Thu, 02 Sep 2021 03:41:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630579273; cv=none; d=google.com; s=arc-20160816; b=r2+vDUNOSBz4dRSAx9PxjNF2j+p8S1bCrRlWfxdrHJV0S4cCuYFfdMm5j/YsRSsYks rHKQ0rxUaIHdbrShE4rUTEYvop9cFaufhSmOsU4D2f7OqYqR4KNKxzznBJs+v9Aljfp5 hrHwLaZ86DKUBKHCWQGb5TLMiwFnsZ50PI1MlNOjCGSHhEipO9ey/OoHnN4YboNpsI2s iVbHdO20zF/13MHeNBuIsfwpQL9OsRMjU2A6zOBAXvqAMwA0KyJv8MX4B+urhrCZVtkQ 75R6YH0GBomewUFJL9vzEtaRAxcJBHA5Pnt7z6kDgoG8MDsLaXthmUy08i8x3lZbGS0c 8BnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MMeOaOrtgybFptjW4ugWmt4FnQFoyIyfKFVo5bpOUNg=; b=FMd4PQhuunhH07Oe3nMi/ABKV1NBebjnyrBY1MEZ8BQar6MzNG8/SxS1z8w63Pm22m 4oyRnvBI9ZBzJaoFvLDSUENsTdysaCC+H6E6aESF5xchQON4oYrhpZIOtyCJDuv8blq6 /SWXJnjIIP9R/nZa7hsOB6MgQRdD5c4scY3qb2eUnUD5ayNWsnSle4nxuH/hKiyLDu0w GFVo8YD2AzC+b5NnuHGjiPnHlY8/uZrF5ITPXaVFiUqSMz+/cQlpiB1ab5JK+8u5wG45 9WAsEzl7cOHtNfast9EQRifMyol0Eyv/JF8luplQJ89qUY6OeDgIEKpcorqD+jSfNrRt /UgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fDU6p6Zg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a17si1832299jal.14.2021.09.02.03.40.53; Thu, 02 Sep 2021 03:41:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fDU6p6Zg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244714AbhIBKkj (ORCPT + 99 others); Thu, 2 Sep 2021 06:40:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:60232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233714AbhIBKkh (ORCPT ); Thu, 2 Sep 2021 06:40:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3D5B060FC0; Thu, 2 Sep 2021 10:39:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1630579179; bh=pskipErYG3yij3Nnbn/UFKHtIqoDLEsIIQwNdTzNC3w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fDU6p6Zgnta23vpi6z+mLMRJZ3jhS35PqWTjGaYFT1WkaatOwxRpopOq56GVtwRTO O6AWwHFtIn8opjYQePBCiQRGkGYlAl4kO6GfQe0bTCUzIKbOoisotBW+WYPwjwAf33 3X0O2xSqekO6mZ5TiSQCE1uLP8YDvzNf2uCTBgCw= Date: Thu, 2 Sep 2021 12:39:37 +0200 From: Greg KH To: Dongliang Mu Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel , Dan Carpenter Subject: Re: [PATCH] media: usb: fix memory leak in stk_camera_probe Message-ID: References: <20210714032340.504836-1-mudongliangabcd@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 02, 2021 at 06:23:36PM +0800, Dongliang Mu wrote: > On Fri, Jul 23, 2021 at 6:11 PM Dongliang Mu wrote: > > > > On Wed, Jul 14, 2021 at 11:23 AM Dongliang Mu wrote: > > > > > > stk_camera_probe mistakenly execute usb_get_intf and increase the > > > refcount of interface->dev. > > > > > > Fix this by removing the execution of usb_get_intf. > > > > Any idea about this patch? > > +cc Dan Carpenter, gregkh > > There is no reply in this thread in one month. Can someone give some > feedback on this patch? This is the media developers domain, not much I can do here. thanks, greg k-h