Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp661000iob; Fri, 13 May 2022 09:40:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxtdO5zTHO1rzmgcnu/O1WZXxsqJQuAv8oigXFNAJWnsg7xs7gd9i/8MnHeyIr0yegIsK+ X-Received: by 2002:a05:600c:1986:b0:394:867f:984c with SMTP id t6-20020a05600c198600b00394867f984cmr15846836wmq.20.1652460016000; Fri, 13 May 2022 09:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652460015; cv=none; d=google.com; s=arc-20160816; b=H0HaZXq/gSzZNVdC9tU6/oteF8ndaoWd9JaDkPjKlL3yo0q5GzXLG6Hq1d2azL38yA KI/RExr7PRX8EQ/mTyymmWV3zodAwwZhZckiJnuBrSWkk9WWlMTdog5HBeXPCOJujXJl 3yz0gvt/7G0TSaYsi8432x5ISR7pU6NoZHvJL6LyZOicXyiZA1FeaQf8KhvSuoGl+Rf/ xLLLu0i2EZzTiq0wQ/vtno1+H0oMQEqI4c8yjoJ5XjdFydv7IJpYT6FpC5TCKZCHDWO+ PLTJR8lGpecOLApGdmsV3h2+K0jonJDL1b3n4/kyn2oEm95SFmR1r6oF9Mgh1P6hDLNQ jlGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:to:from:dkim-signature; bh=rzuBeHG6NZ9ScOy9+wMetI+yxCfdd/15OAma4F5lUyc=; b=g8eVLXCPIqPDSZqNHnorx1ItFgYe9vb44IngI62i2PECD2b+WAadXQijGjddYTYVHK JBJe7abUPnUWoUKyCUzBtLpCyv9UEStYC6ctQzapFU9l6NfFIZU1AZXwPy538+7hdK0P PMOj4vaS1s4qNuecyi/dpYg4jT7t0f7VbFoHr2FYnC0CXn6TVkgoDoQn2Lyt/Kmt22bz 6bk5nFppeDSDUzj0C/Kiq4nkaV00cQk0YZqkHCoHDcgyoB+dcPHCCVrBFiBZ+jlNgqV2 yTZsocmy2vp0UpWw84ehISPriiPlX9y4zofJvNfv7qcWJdKOX+OEvzt+q6LF8UBl9HhS N94w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jnJCUtKP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p14-20020adfce0e000000b0020ad022204esi2388511wrn.287.2022.05.13.09.39.46; Fri, 13 May 2022 09:40:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jnJCUtKP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355126AbiELONI (ORCPT + 99 others); Thu, 12 May 2022 10:13:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355104AbiELOM7 (ORCPT ); Thu, 12 May 2022 10:12:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24E456338D for ; Thu, 12 May 2022 07:12:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B23EB61B1F for ; Thu, 12 May 2022 14:12:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE53CC385B8; Thu, 12 May 2022 14:12:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652364778; bh=fS5LIWilDa+hz2Ola1gsUeyqJCEe4vAjSZHbZ6Wyv2I=; h=From:To:In-Reply-To:References:Subject:Date:From; b=jnJCUtKPLyvpYm1omocXcq4bY8fiwWPyNoHSOf2muv4nzjc4/pCzJXco+WbVrys2B nVU67xTgNAzmd+KG0jtvtElGYqRyg4AFF0nh7MbnT8oPfogz3e4wGg2D94E5fDhhHb AnwD31Bt8FKC8TtmDIYg1SikcscL4PtqVPqSOzy5PKSWj/T5w/Rxx4Ei3WkJlrgVEq hS5foECa1v5ajLahqJFojqngPid8DGO+Dc/9zdpYOEWo/7eQbOMe9RZlrPR43A1WLi Ii0tbKzsw8OnyryC5YIB6Qi4o5SEMUVQ2JmMHo4cJz0/uYbJXoT5peO0DKv/vb5Ook SznOxKhgvpj5w== From: Mark Brown To: Fabio Estevam , alsa-devel@alsa-project.org, Takashi Iwai , linuxppc-dev@lists.ozlabs.org, shawnguo@kernel.org, ye.guojin@zte.com.cn, Jaroslav Kysela , linux-arm-kernel@lists.infradead.org, Shengjiu Wang , kernel@pengutronix.de, linux-kernel@vger.kernel.org, Nicolin Chen , Liam Girdwood , linux-imx@nxp.com, linmq006@gmail.com, Xiubo Li , Sascha Hauer In-Reply-To: <20220511052740.46903-1-linmq006@gmail.com> References: <20220511052740.46903-1-linmq006@gmail.com> Subject: Re: [PATCH] ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe Message-Id: <165236477462.1016627.3973321279072799571.b4-ty@kernel.org> Date: Thu, 12 May 2022 15:12:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 May 2022 09:27:40 +0400, Miaoqian Lin wrote: > of_find_device_by_node() takes reference, we should use put_device() > to release it. when devm_kzalloc() fails, it doesn't have a > put_device(), it will cause refcount leak. > Add missing put_device() to fix this. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe commit: ed46731d8e86c8d65f5fc717671e1f1f6c3146d2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark