Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4485161rwe; Mon, 17 Apr 2023 13:28:25 -0700 (PDT) X-Google-Smtp-Source: AKy350YkRrItIwxgoQX19d0UbFKfuJ496QUZ60Zi9tzLtVtpHYyQEIQQWNB0STafiodpFCbHlb5F X-Received: by 2002:a05:6a00:1a52:b0:63b:187d:c9c7 with SMTP id h18-20020a056a001a5200b0063b187dc9c7mr24576677pfv.6.1681763305139; Mon, 17 Apr 2023 13:28:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681763305; cv=none; d=google.com; s=arc-20160816; b=vcaPZcF+1m7Wd8UTvdKhb9osi/3F9kEL7VK36JAgkpmlyqM3qXUmO9KhNuVK/t6lxg L79r7QiKSTPfEDf68560J1NWfQEOGUOlOKhDPP6qEsgYlqihC9JT2cEGf3q7nq5u9xWD xsC5Mz4lH2XEZTmyd2x8f+8F3XrfTtEaDgqHTUZyn4IWNPvpV1B+zy1gXNxRbUhcvcJL JH078ZstgfT29wkPbGfx+I35urOjRiq3IjhJShaX9pTSrNKajQcMN06ZerA6pwaREtNb rGcS+zT5mnU6A0YS95h0snwdyMAft5s0xgpLN6IavUAul4CrG0l3UaxuiSRcBgUB3zCa UVHQ== 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:cc:to:from:dkim-signature; bh=FyJC3P00ZcPHDWIa5HYf9tRIEsj9MlOkMUa68bPSENc=; b=HlJFU6sjBROrVt0moG03Y5Fz2nCNB9jw/w53cWmD+JdvV3gbngGBb4wnvM1FsXU6Us ECOv6yNZVXNri+RCdO4c4qguFSY1/n6PTOyXvWQ+LgRVpJQmkSLdzrG1ZrglEsdy8mKF nMQgyB08avpGYA86kvE94lV5fXU4MIG9hwnxZRM9q/Yy/cKTLyoEdw6uNuMt4FfT4rD5 28dFtblE1j3pbZQFp644xvLrA35JhjgwfMNVE3pSmts06SWEzIOXeZq4N357lPDvOpS5 djhB/klI9PwiViQqQB2rlPbBEkzLVvaQ8wLVnlOGLLNADzIArxCbz+AGdH4qx71ItsTb qYsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XZCyyjyx; 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 t189-20020a6381c6000000b005184398f8d9si10685000pgd.457.2023.04.17.13.28.11; Mon, 17 Apr 2023 13:28:25 -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=XZCyyjyx; 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 S230003AbjDQU1u (ORCPT + 99 others); Mon, 17 Apr 2023 16:27:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbjDQU1r (ORCPT ); Mon, 17 Apr 2023 16:27:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C95B1FC0 for ; Mon, 17 Apr 2023 13:27:47 -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 9CAFC6208F for ; Mon, 17 Apr 2023 20:27:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DDADC4339B; Mon, 17 Apr 2023 20:27:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681763266; bh=jTUKGS4yE6dGIJLV1sOj+vFZpr3b/IpFoTct4m0Hq2g=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=XZCyyjyxzcZQzG6lCLUfJCEqUBRP0qLMwCzDSoB+ZjpdCHx0IB5PPsL0btoPeUmyR cUN8Sw0p7Vsk8oyw1KslYMeJH+JaZ839letabf4nApeHj4jPvi6VBDLXxikYNddoGK Ra2h3wrArKnQWdR982Uf3YO3Wie6EEZ8sX9J++nUKGlwJG8/zBwRF8CTuSL9zPPzVO etVpnrG23fGEV6lLIn7lfO5cfoxw1BdFfpKr6yrGTNM4wmb6Lmc9XMl9LqrAnvk2bM 45zYm/PBs6eNBw+itcI3v+mq92HzJNfWsrxg1erv2INbnw4uaHwTc3Ff/+Z+8Yxe1g BpRwBKz11Hdlw== From: Mark Brown To: Shengjiu Wang , Xiubo Li , Fabio Estevam , Nicolin Chen , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Dan Carpenter , Liliang Ye Cc: hust-os-kernel-patches@googlegroups.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20230403152647.17638-1-yll@hust.edu.cn> References: <20230403152647.17638-1-yll@hust.edu.cn> Subject: Re: [PATCH 1/2] ASoC: fsl_mqs: move of_node_put() to the correct location Message-Id: <168176326315.1296984.11419887064802720363.b4-ty@kernel.org> Date: Mon, 17 Apr 2023 21:27:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-00303 X-Spam-Status: No, score=-7.1 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 Mon, 03 Apr 2023 23:26:47 +0800, Liliang Ye wrote: > of_node_put() should have been done directly after > mqs_priv->regmap = syscon_node_to_regmap(gpr_np); > otherwise it creates a reference leak on the success path. > > To fix this, of_node_put() is moved to the correct location, and change > all the gotos to direct returns. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: fsl_mqs: move of_node_put() to the correct location commit: 1c34890273a020d61d6127ade3f68ed1cb21c16a 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