Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1396462rwb; Thu, 8 Dec 2022 10:05:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf4kh8j4W0Uio+6veE3CGeJTVqz7nB+b0ju3PlyRBVTYxgdLtuOORU7nyMUVjirr5WAz+v+d X-Received: by 2002:a17:907:2093:b0:7c1:136d:b841 with SMTP id pv19-20020a170907209300b007c1136db841mr7255241ejb.216.1670522710600; Thu, 08 Dec 2022 10:05:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670522710; cv=none; d=google.com; s=arc-20160816; b=epbclLSZ/dQ/x+fJTQadnQ4PiZGcQe3fOwhKXKtqyTBQkQ/Nxy0v4rKCbSxRU0Fkc2 zaVVZSh5X+Vf6+LDacVA3P2WUA3XlH1L9da4MY28/ghs0120+6K0YW+w5FMH4Glp9lRa i/km0IJa/XsDVsqcU4vXOVGV1tX4taSoMtTtQ0pd/mrsLM0Umz0EpydJRougQIcSjUnm 2GYt4tQ8g4gODVQFI7v4fougKgH0lsD+c1VzFodVBG4PbT5za5TmSDMs3JtNSZpb7sK3 S/zWV6s3po0qYiZH2JHrTR1j2nzlhWRYGTR3CHvla/5NBBaRcKcT1q4DeUky9t4HFclg 6R8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=OmFBgIdY3+ZsToSNVZ83H5cigb34N6EZfntDPaQf8hk=; b=srJsymyKgekF5uyy5vZvK1c3l8L+LApvsiA2pi5kslB1zF2rd0uJPZKtdbaD3kPPM9 paNbe9fVpww5yZ1h2XL+Y9yN4m991SFNWknSzMxKE9LxdozyM+qN0p/+61sX6ZsXLghu S/OFvsoF4j1xomsIy/exVvD3C/mOeBj66jcTmuv0ZoOiPkrshWkbwO519bgq/d433xi7 arjwOOAT1vLIs9DGsDqg1A8GRKnjTJCOUPwkc7DA6PV0613eAV5vVKLjCbEvzilLBJH3 sXZQBmeMNjrOSf2Cbdh3DD/i15fvB6alrbQaS4F9vSJDZVdXPPTIMpG5TToUEDqS21LN CEgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FiN+qWfu; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr32-20020a1709073fa000b007c1275dd934si3113152ejc.792.2022.12.08.10.04.53; Thu, 08 Dec 2022 10:05:10 -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=@gmail.com header.s=20210112 header.b=FiN+qWfu; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230072AbiLHQ5K (ORCPT + 73 others); Thu, 8 Dec 2022 11:57:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbiLHQ5I (ORCPT ); Thu, 8 Dec 2022 11:57:08 -0500 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94B9970BA8 for ; Thu, 8 Dec 2022 08:57:07 -0800 (PST) Received: by mail-pf1-x42d.google.com with SMTP id 130so1745900pfu.8 for ; Thu, 08 Dec 2022 08:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OmFBgIdY3+ZsToSNVZ83H5cigb34N6EZfntDPaQf8hk=; b=FiN+qWfun85MRGRbla0Hd5IF9R1oP0Ok62X5UXey32hWqh62O5oiAeNbMNpb1yufvN emXRvqgv7WcxvKBzTF6iw78c2Kv+DsRijDc9Y1vr8wogSlBdmcjCrM6sRj0Vp5MSci2U 89YCiUPqMprMLYVVAGxd8J03m5ZKcikIm4CFe4mWkYj4/dIpTJ60Xjeb4d8Kjgm3yhCk P7nXXwU/zrVhT5Opnl7yFPtEusvfP0G+MiE1q0OyN3VWRq87FM5p2pP6nMf91MXw0QKb +dWmT+l3UEHSjxqn5kw7g2PwgTvhNdHNxaitPkEcu8guLuaq1TUEeyC12aoan34vlOi1 JJvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OmFBgIdY3+ZsToSNVZ83H5cigb34N6EZfntDPaQf8hk=; b=c4wo7nU2nGS8OeozY91R88iX/cqlPcssISsngq8KerfvdGK7O8ExFiyyGXGpxXR6y+ GIC8NU0rVT2oDWWKRIBYydQGUW/Geykr8qTzhY8M9pu89sVhNqYUNKMrljQri6GdEEDi a+2B8M0xH0GWmKlH6h9w56W6Z3kUhzDPI6VjY3/9/v62Q7ca1yBQZ8CcgwZRUtkq+V4t dlXlkIvwAPMU52g/ZkHmQLf3ExRqQu/KRONwfFIVzTrnRJbApLR605emXHbGN2ra8Evl orpq31ydboQDcrFRRAOoGzYRpXSXHH6FuuBIiJxyhpHeXYrDLpOGfMwmh7d3u4xO5xCZ MCqg== X-Gm-Message-State: ANoB5pkNuvCdpBTyv52AZVEDJXTLf7oGWVx5JUevTO7DNySEq3oR+kxS UezAQokiexAp+iUNsNfPOBCJ7k+bH12Pq6vEpgo= X-Received: by 2002:a63:cc15:0:b0:476:ccde:6694 with SMTP id x21-20020a63cc15000000b00476ccde6694mr65907005pgf.603.1670518627025; Thu, 08 Dec 2022 08:57:07 -0800 (PST) MIME-Version: 1.0 References: <20221208165404.1512014-1-dario.binacchi@amarulasolutions.com> <20221208165404.1512014-2-dario.binacchi@amarulasolutions.com> In-Reply-To: <20221208165404.1512014-2-dario.binacchi@amarulasolutions.com> From: Fabio Estevam Date: Thu, 8 Dec 2022 13:56:51 -0300 Message-ID: Subject: Re: [PATCH v2 1/1] ARM: imx: add missing of_node_put() To: Dario Binacchi Cc: linux-kernel@vger.kernel.org, Amarula patchwork , Arnd Bergmann , Martin Kaiser , NXP Linux Team , Pengutronix Kernel Team , Russell King , Sascha Hauer , Shawn Guo , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 8, 2022 at 1:54 PM 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 Reviewed-by: Fabio Estevam