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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 570AEC433EF for ; Tue, 28 Jun 2022 05:11:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dRgr9LZ8cNHrAmhcNhTe7gKzv1IJ5AXs2B9haAFBhrA=; b=zWmGxRnlWGnbr1 4r9QPNvBrRAw9wqk89+xmYCKHdz2NrpRRJIMQQLihVuuX5wDsbzC4/K7qnaTZAJTJ4mkNm0lS8wco ePGrJKLlKi4Ty6EAsG/tcd3TupLYtbY/0BajJCN0zteRlhGC3QvTuCM28aD1PH6tiTd6McUckMI8G lv1zWooWn/PctC9YZ6OsKswf6cf/hKcBBd/pHn+VUwE2MCRqP+pT1iG/gWBhdWCQQ68HvEpf0RE2e 1CjxwrrGWKg9MukFZl87Q8y/YRUXXgyjUKyp7/ZKe/w7Z7gYypf35RyWzuGtOcONvQPQruchg5ZGv J6zdML0/7x6ZlO9L2EMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o63UX-004K3O-Fx; Tue, 28 Jun 2022 05:10:25 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o63UU-004K1I-EC for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2022 05:10:23 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id E87538106; Tue, 28 Jun 2022 05:05:04 +0000 (UTC) Date: Tue, 28 Jun 2022 08:10:15 +0300 From: Tony Lindgren To: Miaoqian Lin Cc: Paul Walmsley , Russell King , Nishanth Menon , Santosh Shilimkar , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: omap2: Fix refcount leak in omap3xxx_prm_late_init Message-ID: References: <20220526073724.21169-1-linmq006@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220526073724.21169-1-linmq006@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220627_221022_555800_14D8D6AC X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Miaoqian Lin [220526 10:33]: > of_find_matching_node() 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.10/soc. Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel