Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1609496iof; Tue, 7 Jun 2022 08:35:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFPrX7HjoiALJH9orkBsOX8T1qAJq5Q6zGiXFi3KDHTQlqCuxve8GO3blW6k9jKDo1oinS X-Received: by 2002:a17:906:2b92:b0:709:236c:de1b with SMTP id m18-20020a1709062b9200b00709236cde1bmr28422810ejg.754.1654616113529; Tue, 07 Jun 2022 08:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654616113; cv=none; d=google.com; s=arc-20160816; b=AiEKgeNePVy3mUlj4pAiJjtw+yt2PD/jed+nkBX7X0kn5NqKuXK5sydcBhcXeH6HiW TUEkkvAIpPMPcMh2pjgD96j/IbvBWbMO7Z7D4ACuQx8YxKIPA79ffrGNWFsQrPJxY1el fRSQazNDtwv4eFs4VqT9gvGG7SPiVeB0puM+x8WdrF6VLyfO9V1eVtM6WWY+c/HHORn4 86JBDf8PM1BxitWAtKsD62pMrLLtQZApJB4Gj0AmCyr09S+KirTf4kq7Kf5Kl0Miema+ QZE5qFfGCE0ts/Cohhxisd4TcSvlYw4TmvL9vJ53rZWh2HxKpZoYVZU5SkAEpiD0JEPF GD3w== 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=jGSQwoR8HC6QtTUvBKSdtBZiztNoU9BRwAImWUH1Blk=; b=kbb6CskUAyMCkdXph8fEy+qmXB0ylTt4VJQDqpVXh/9Twy0yqUFysWb5PaVX2CKRSj IfpwYb1nlQOv6IcupbR3F6JHqaRd2mB6EMy4S/zSGxh2oPMl3Dx0itcZfxxQ8o9XDlq6 +VQUXL4E6ClJw0PmmZXFrXExzmdxfyF5wh9kpMS16VmFytXilOU9OUdkbpKfWYE3j0e5 yZBdXTKEl4RrrrzMX4m1a9svPz88x3wS0gr24VwEwgBaQ72Dh7YYx6zhmmISjmzVRZ4f KSK9ri9dNun9//tQfBCewcNFBrKpxGJrxdF82wb9EqKdXqY3t6GBSqH/5BB9SjgwvgA1 oppQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k4wxjE+U; 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 nb11-20020a1709071c8b00b0070e06c115b0si17295239ejc.235.2022.06.07.08.34.45; Tue, 07 Jun 2022 08:35:13 -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=k4wxjE+U; 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 S241533AbiFGKqv (ORCPT + 99 others); Tue, 7 Jun 2022 06:46:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241622AbiFGKqG (ORCPT ); Tue, 7 Jun 2022 06:46:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C976FED8C8 for ; Tue, 7 Jun 2022 03:45:58 -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 546CA614B1 for ; Tue, 7 Jun 2022 10:45:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9934CC34114; Tue, 7 Jun 2022 10:45:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654598757; bh=cl2kJ6HTDe0yukX7nr1xYKMvqp7lqxgQZ48J6FS5Cu0=; h=From:To:In-Reply-To:References:Subject:Date:From; b=k4wxjE+UoQ8CtcvorC7C6F8xX+9lfSc/Mhez6uwNgnafTahMtqjXHys0us70fzpSY 9HvPau5q34kT3A4koEMEZ7iinwHC26WeKeA0X6SrU0+XvkKeBjtNvNaD6DMTs/34RT ZF/w1123ishJ/2k39nAAtgfTi2nFv4FC23HNnPlolMFPYSdsvlnNRrMV1xHxfah7Ox HTxOf481UKpI74BS7fFHKJDxOx+BKutXW63ZzOnRMq/NINOh65qjfi/2540yFyES/m 7ATpXkZCYkXgDKVfMtZXkKSYWmuUSHGo57F7NOM7m9pg2DS0xBDS1cva9KTJ+0ibx8 5aGxcDVHQnFuw== From: Mark Brown To: cychiang@chromium.org, chrome-platform@lists.linux.dev, linmq006@gmail.com, Liam Girdwood , tzungbi@google.com, Takashi Iwai , groeck@chromium.org, linux-kernel@vger.kernel.org, bleung@chromium.org, Jaroslav Kysela , alsa-devel@alsa-project.org In-Reply-To: <20220602114529.6303-1-linmq006@gmail.com> References: <20220602114529.6303-1-linmq006@gmail.com> Subject: Re: [PATCH] ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe Message-Id: <165459875534.301808.8602571934037682831.b4-ty@kernel.org> Date: Tue, 07 Jun 2022 11:45:55 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.3 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 Thu, 2 Jun 2022 15:45:29 +0400, Miaoqian Lin wrote: > of_parse_phandle() returns a node pointer with refcount > incremented, we should use of_node_put() on it when not need anymore. > Add missing of_node_put() to avoid refcount leak. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe commit: 0a034d93ee929a9ea89f3fa5f1d8492435b9ee6e 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