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 2A578CCA479 for ; Tue, 28 Jun 2022 05:57:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245191AbiF1F5A (ORCPT ); Tue, 28 Jun 2022 01:57:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbiF1F45 (ORCPT ); Tue, 28 Jun 2022 01:56:57 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3ACF128E05; Mon, 27 Jun 2022 22:56:57 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id BC7AA8106; Tue, 28 Jun 2022 05:51:44 +0000 (UTC) Date: Tue, 28 Jun 2022 08:56:55 +0300 From: Tony Lindgren To: Peng Wu Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, liwei391@huawei.com Subject: Re: [PATCH] bus: ti-sysc: Add missing of_node_put() in sysc_add_named_clock_from_child() Message-ID: References: <20220620093107.73809-1-wupeng58@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220620093107.73809-1-wupeng58@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peng Wu [220620 12:32]: > of_get_next_available_child() 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. Thanks applying into omap-for-v5.20/ti-sysc. Tony