Messages in this thread | | | Date | Wed, 22 Jun 2022 11:00:34 +0200 | Subject | Re: [PATCH] arm: mach-imx: Fix refcount leak bug in src | From | Krzysztof Kozlowski <> |
| |
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 <windhl@126.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
| |