Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8425774rwl; Sat, 31 Dec 2022 05:42:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXs0r0Sinc2YJv2HRAE++QeBYjM3O8lcG/vrEHB0NRlTBYff+YOUU6jPnD5Esez5PcQpvg2S X-Received: by 2002:a17:906:910:b0:7c0:f71b:8b3 with SMTP id i16-20020a170906091000b007c0f71b08b3mr28969620ejd.57.1672494147578; Sat, 31 Dec 2022 05:42:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672494147; cv=none; d=google.com; s=arc-20160816; b=fGDtTmrNRDxRZK2SkOqcGUfs3SkqaeIQQ5loioJBBuP6nUEMcvTlKM4H+IeofkH+E7 8XokDnrf8HM/AxW2IP28yhf5xJ84P8zdn30m8nN21kvecuur38MnUHrv9QnNjLx/LFGj T87T+vb94p8vqfPV9Yn1Cad+ynuN/dd0PN5rHtsnoisV6JZ5pa58mU21w5fVXoe/3xW8 5kOinK3hpRhl2CFDJMTLzBBeK73/rKGoO8uT9Ur6GKdPWPITPqleiF4UOmn+tDNGCvPK VeKXhS0i0+efF8dce7FOisjLfrndq7TPNMj9XZQkaaoia+TyKEpBQCJTrEWec6J1/SXE iyBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=PC12KdotrPeC/e6jWEypwJ/jC7Lhd/O1mA78rkBrHEA=; b=VTMDwo9xlA2j9Kz/qLTTcWgYGomxLWqzFRfUr5yFif/OzX58Mkx3FX/r6ryEkVks1m EJnBP5vWUTQq+0IqCHhfu/W5oxNnQDMTyckOfcZlpqzBI9lOua74+NIcVoYW5zmVh7sq ZANTU5ycCBNp/wiONAxcB2mdNDpPyxwefxgV4vd05tnGi+lxBSz5rq34Kdn7ivqx2JQi nuUsPmiiw3RH1iPTCO9dH3W/fsZ6lASKdlabI3Jn+zoGImDqdjyZ/mErCEsrsKmvx/Jx Y1cqtk6R7BHJBzvnK4g+SWUID4KgRPlPexzTuWKbpaUIq4/BdunBDDQaY3d11yvcDluu CpzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="XA/8HwSn"; 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 sg39-20020a170907a42700b007c115fb8501si20427606ejc.252.2022.12.31.05.42.11; Sat, 31 Dec 2022 05:42:27 -0800 (PST) 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="XA/8HwSn"; 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 S235707AbiLaNO1 (ORCPT + 62 others); Sat, 31 Dec 2022 08:14:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235614AbiLaNOX (ORCPT ); Sat, 31 Dec 2022 08:14:23 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39BC86380 for ; Sat, 31 Dec 2022 05:14:22 -0800 (PST) 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 C328560B7A for ; Sat, 31 Dec 2022 13:14:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4A0EC433EF; Sat, 31 Dec 2022 13:14:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672492461; bh=XNRMJvnnR/ANOsRJUu6Glk+gUbvgn+2ncoVIUKNjtFQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XA/8HwSnkjsK3fCMK1XBjH5gzIezRCshaoWtysH4KxuWPAlCzJV462vpY/BbwKjxe RQURyNmaEGgEv+ao/n4VrD97GLko1OecxJTF9TfsFKsnF3MlM0jUgjBwEMq7lbBJQ8 B5TSB7s2aLX32w3vbs95+2HJHmCv9reCylj5kjuWQMm1cqYbA9bMsdlU7ePxYNFuN3 rgT6cI1zizvtt4LPtanhOd6bzp9v094hBJc44wrJZHB91MU8KmO/WFunOSuyNGvb8F T3aak0BmPpkwS1+h71CaXYeTZ5jCY0ni97LNullMNxzC0RmVmvhLe0z/o3NoJRn5Eh BaRFOwaq7zXZA== Date: Sat, 31 Dec 2022 21:14:13 +0800 From: Shawn Guo To: Dario Binacchi Cc: linux-kernel@vger.kernel.org, Amarula patchwork , Arnd Bergmann , Fabio Estevam , Martin Kaiser , NXP Linux Team , Pengutronix Kernel Team , Russell King , Sascha Hauer , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 1/1] ARM: imx: add missing of_node_put() Message-ID: <20221231131412.GB6112@T480> References: <20221208165404.1512014-1-dario.binacchi@amarulasolutions.com> <20221208165404.1512014-2-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221208165404.1512014-2-dario.binacchi@amarulasolutions.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-7.1 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 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, Dec 08, 2022 at 05:54:03PM +0100, Dario Binacchi wrote: > Calling of_find_compatible_node() returns a node pointer with refcount > incremented. Use of_node_put() on it when done. > The patch fixes the same problem on different i.MX platforms. > > Fixes: 8b88f7ef31dde ("ARM: mx25: Retrieve IIM base from dt") > Fixes: 94b2bec1b0e05 ("ARM: imx27: Retrieve the SYSCTRL base address from devicetree") > Fixes: 3172225d45bd9 ("ARM: imx31: Retrieve the IIM base address from devicetree") > Fixes: f68ea682d1da7 ("ARM: imx35: Retrieve the IIM base address from devicetree") > Fixes: ee18a7154ee08 ("ARM: imx5: retrieve iim base from device tree") > Signed-off-by: Dario Binacchi Applied, thanks!