Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3641086iog; Mon, 27 Jun 2022 22:39:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ty1lb3bQHQtjpvKXo0HEppnHJGDC7cRoIJ35bMS0H4C18OGlBnikHO5ek8N7aIqWN1xCiQ X-Received: by 2002:a17:907:ea7:b0:70f:a27a:dac0 with SMTP id ho39-20020a1709070ea700b0070fa27adac0mr16939673ejc.25.1656394795287; Mon, 27 Jun 2022 22:39:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656394795; cv=none; d=google.com; s=arc-20160816; b=FC8FBofLGbgcmiC3u/8OgaCnF3z3Ab3YPk0nhHns372+Qgg4UvcqLMK/FQobON7LWx 3T+7cr9DgNS0yQ+0LPB1gSVTikl+g2RB8PIhSZiL/T2/u7syvPEhz2RtR9S/IC+LJRvC sOACAV7zw0KK4QhbCvA9cTwKA/Fz437jx8Rk8JT+0H9CnRH+IcXNWt2RuxthGEwLUIQv qJYIRFakkdXYxPJ5akREulUHanMBOZwhmDCD6uFm+tyZSxOHGiMd2Up38qygI9kBFCeJ YHgaQBY4+CZSWVhXwHFzwdXC/VazNctHnZI6y3j4dTo2GRcCHD/LRkuX25tAMsGmJnbx XAOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=SEW31Mo8dix/HIA8jCtGSwiUS9U8FwYGbZLy20782J8=; b=VnnsPPKxX0yVBKv94lqSh8ER/Q0dMd3ZHlM4ZJ8fx/ZmGxiG0GymDO1Pi3rPmawCHp ZRaELbIlRYHCR2VxpAd910o9lRJiahbLNk5zerhZY/91c/EpN0mcnfZJfNQssc0Eg6jt YovcBaQ7RZvmpdFVof/uDxNtUO9xyQDTFISqjbIrUEUygs5QUJEx9f1VhtBnmpynhVnV +sG8uxv/+L6lRo496UFq+M2Y2i1XWarQ+Zwwgzuq0s5OBJD3Lx3rI0llQMlwtEj3iugb pnDnkQ/l6PrVB87ohL71503inOmf1zNd0jQ1ZMuFWTtyYV7JNs91/lGFzhb2A+JgaSgG 5N9Q== 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 d10-20020a1709063cea00b00703cb42f1bdsi13246970ejh.181.2022.06.27.22.39.29; Mon, 27 Jun 2022 22:39:55 -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 S244641AbiF1FKc (ORCPT + 99 others); Tue, 28 Jun 2022 01:10:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244388AbiF1FKS (ORCPT ); Tue, 28 Jun 2022 01:10:18 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7C2BF9FCF; Mon, 27 Jun 2022 22:10:17 -0700 (PDT) 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220526073724.21169-1-linmq006@gmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 * 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