Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1890856rwn; Fri, 9 Sep 2022 05:47:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR4YQavRQS7c2F6dU7GI1zMs+pCF+rU5xALCVurXexv9y+KjU7fABjcr7FUGquXT7a8QAMXV X-Received: by 2002:a19:ac45:0:b0:494:9978:178a with SMTP id r5-20020a19ac45000000b004949978178amr4153448lfc.505.1662727647227; Fri, 09 Sep 2022 05:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662727647; cv=none; d=google.com; s=arc-20160816; b=aM18cxcK4RaMsH/u4S9VsPoLeNBHyYmLA42r5GZ7QOGAxuwxCQdpGQRjDet+bL5dL0 109V/HsZ4xM2kffjU7UMPCYOXXgQzLLVo6ipMojoab7rBdOAF1J35qZaQ6ssiO5ettnU 9kOs1CGqGOxsx9lYYydVlG+QHB6KaeFFTkRvvAc9uQTkpMhk85n3HbE5l0X5ajDl0lE7 KVaJIDE0dpzZCzlHZwh9+ROnC8IPemtl4gE8bfBpk+mS1A53CSw0HKh5RY7FIaQ1eozB kqTfnE0QgZQe1mLLoueglikECvcME8nMKBl+8uUuYnsc/LVQ+qYg5XDbjBFqACFse4B1 TQEA== 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; bh=ua3RodRvROOFEC+N7fRZLKttqh2wjRbLr55SYrpSkA0=; b=nt6RV+YhzXrKrU/RWdzP5jDVmlN4LdYhL/miyoW4Xf+eI6ntioRCvzAllJi8CirgdJ j4KCUD/Wq9XiesZLJmx+EIHwrzGh+31fq4Yy5+6Nm11y4k3fME3zT+IGNjljNqBvp+0D vtx5MlonirFYEEUprQ6Q7mOmo+rdFlYZ65E2S/jlCX3KxTKBKOtRPMD8IeXtYZr0e+/j HJA14ySymMzL42fkz0+5JRsXA2W1N3LqKmAwax5X4CiDHa3nyHXzaBkM4JXUwipBuYvU j2kC6vtaSgGBS8LS3g0ZB+9zxur8wycmS8fPBGdRyYo6/49Q4TGPj8Ow9A3d4sVBtqSv lN+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z7-20020a2e8e87000000b0025e67b9a2e4si217738ljk.73.2022.09.09.05.46.58; Fri, 09 Sep 2022 05:47:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230101AbiIIMLi (ORCPT + 99 others); Fri, 9 Sep 2022 08:11:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbiIIMKo (ORCPT ); Fri, 9 Sep 2022 08:10:44 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E49B111B750 for ; Fri, 9 Sep 2022 05:10:12 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4MPFDd2Cc6z4xZk; Fri, 9 Sep 2022 22:10:09 +1000 (AEST) From: Michael Ellerman To: agust@denx.de, paulus@samba.org, Liang He , nick.child@ibm.com, ulia.Lawall@inria.fr, benh@kernel.crashing.org, mpe@ellerman.id.au Cc: joel@jms.id.au, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20220615143703.3968898-1-windhl@126.com> References: <20220615143703.3968898-1-windhl@126.com> Subject: Re: [PATCH] arch: powerpc: platforms: 512x: Add missing of_node_put() Message-Id: <166272522122.2076816.13173445897300716877.b4-ty@ellerman.id.au> Date: Fri, 09 Sep 2022 22:07:01 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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, 15 Jun 2022 22:37:03 +0800, Liang He wrote: > In mpc5121_clk_init(), of_find_compatible_node() will return a > node pointer with refcount incremented. We should use of_node_put() > when it is not used anymore. > > Applied to powerpc/next. [1/1] arch: powerpc: platforms: 512x: Add missing of_node_put() https://git.kernel.org/powerpc/c/06f48f5cb5df2299f5e4b42e9dda1858bf172bcb cheers