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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D7A4EB64D9 for ; Mon, 19 Jun 2023 07:50:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbjFSHum (ORCPT ); Mon, 19 Jun 2023 03:50:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229933AbjFSHul (ORCPT ); Mon, 19 Jun 2023 03:50:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EF521AA for ; Mon, 19 Jun 2023 00:50:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B446161556 for ; Mon, 19 Jun 2023 07:50:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACF57C433C0; Mon, 19 Jun 2023 07:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1687161039; bh=mtCDmWnvyRZ+MksUjHlna3IsVSv85c3nLkDttiZ4B20=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uZsxpm+gVe9oywup3F6tGmKOZeGxyuog+38la4CXUv4kTwxZ+1x0q0hFULFXkbHjJ dM9fXppcbOoNQsQIXnfVIM7IYQSva7VBEJqzTIDzMilM5PZN/Oa8R+Wuo+VXq9uFh3 1yqkNmPNOuyD6dA6OZXJmvo5aDpWD1v8Xw2yzJpg= Date: Mon, 19 Jun 2023 09:50:21 +0200 From: Greg KH To: ovidiu.panait@windriver.com Cc: stable@vger.kernel.org, Dinghao Liu , Sean Young , Mauro Carvalho Chehab Subject: Re: [PATCH 5.10 1/3] media: dvbdev: Fix memleak in dvb_register_device Message-ID: <2023061912-framing-cheesy-5390@gregkh> References: <20230612133907.2999114-1-ovidiu.panait@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230612133907.2999114-1-ovidiu.panait@windriver.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Mon, Jun 12, 2023 at 04:39:05PM +0300, ovidiu.panait@windriver.com wrote: > From: Dinghao Liu > > commit 167faadfcf9339088910e9e85a1b711fcbbef8e9 upstream. > > When device_create() fails, dvbdev and dvbdevfops should > be freed just like when dvb_register_media_device() fails. > > Signed-off-by: Dinghao Liu > Signed-off-by: Sean Young > Signed-off-by: Mauro Carvalho Chehab > Signed-off-by: Ovidiu Panait > --- > drivers/media/dvb-core/dvbdev.c | 3 +++ > 1 file changed, 3 insertions(+) All queued up, thanks. greg k-h