[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53e69349-9e7b-b1a8-f607-ef85be8bb44d@kernel.org>
Date: Wed, 22 Jun 2022 11:00:45 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Liang He <windhl@....com>, dinguyen@...nel.org,
linux@...linux.org.uk
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm: mach-socfpga: Fix refcount leak bug in socfpga
On 17/06/2022 14:06, Liang He wrote:
> In socfpga_sysmgr_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 <windhl@....com>
> ---
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
Powered by blists - more mailing lists