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 772DFC433EF for ; Wed, 22 Jun 2022 09:02:18 +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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X09/5jXwdzQfJDMiaKFucbcnpVs6o/IMmMVakkNN/G4=; b=oEO9X+u/c/RLms DEkh0XEqV0z/2i1pkU2XYL/vRii6sIZ9adToIZIDHUnx0ncnGvOSRgIQXolNcWhEx3EaI4dTuv8j9 OcoiLH1583GccBa5GZ87qEO3Uj63kfbK4wCxPLLQFHBERKfsGy2XuJQBEJc/Tsv/Hn54ua5h8XhgP 7NuHeROjIS8PeAx38HTVXNBo34kRWbI7ATSgOQuR0bysGPSe4f++k2hzeD+D/zMjgyxY7unaPNTPE tkXCL79RDJLKLQrh9RCEOZ/3Z8T2kHj5bQwoEtEVSCxwLdg32Umw1M3at/MptU0R2buln/AMQKqvD n/xK0e+cDZN1xCegto3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3wEb-009QB7-KZ; Wed, 22 Jun 2022 09:01:13 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3wE5-009PuE-Cb for linux-arm-kernel@lists.infradead.org; Wed, 22 Jun 2022 09:00:42 +0000 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 594106194A; Wed, 22 Jun 2022 09:00:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12275C34114; Wed, 22 Jun 2022 09:00:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655888439; bh=Au9YU8GI1WHaoKvBI9tPDpxPj6eJi1R1bciToCsvXS4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=oL6c0bBSHcui+EerNo8iisLF+BWmMs1BYieTfNOM4qMNtajJfvi0zF8iJjK8rm7ux v/mmScWhBNFj/42rQsmC2Y5rTsU1IlWpxkZxYLDjedGpAGMz7tdcLuvg+kh+D7IU7r t9TcKXUrWsFcrLXOEM/POhbFb08dC0wQrGqZte31chBrrtpOH/Q1kTkpO5WXZCEvbU xC9Qc2f5I5UBKTB4oIkwQOvpeNtIZnT0As2e4MCo4AA9l4xl6HJlsi89oZA6u1lW/L hQ78u02WFs3uyqnAo/JBaB1k9x8WuRHhrt8FZeahpUsKxq0X3dxpjFXHNatyvdYNzG iQbvDS504+Jrw== Message-ID: <7db10f84-f4dc-e5eb-a143-3b9edad70bf1@kernel.org> Date: Wed, 22 Jun 2022 11:00:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] arm: mach-imx: Fix refcount leak bug in src Content-Language: en-US To: Liang He , linux@armlinux.org.uk, s.hauer@pengutronix.de, kernel@pengutronix.de, p.zabel@pengutronix.de, saravanak@google.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220617121235.4047670-1-windhl@126.com> From: Krzysztof Kozlowski In-Reply-To: <20220617121235.4047670-1-windhl@126.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220622_020041_534090_55361767 X-CRM114-Status: GOOD ( 11.19 ) 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 On 17/06/2022 14:12, Liang He wrote: > In imx7_src_init(), of_find_compatible_node() will return a node > pointer with refcount incremented. We should use of_node_put() when > it is not used anymore. > > Signed-off-by: Liang He > --- Before applying the patch please check it carefully. Previous evidence [1][2] suggests that not it was not even compiled. [1] https://lore.kernel.org/all/202206221602.odN70SHs-lkp@intel.com/ [2] https://lore.kernel.org/all/16f9a971.44e5.1817068ee3c.Coremail.windhl@126.com/ Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel