Re: [PATCH v2 1/2] memory: of: Fix refcount leak bug in of_get_ddr_timings()

From: Krzysztof Kozlowski
Date: Tue Jul 19 2022 - 05:16:19 EST


On Tue, 19 Jul 2022 16:56:39 +0800, Liang He wrote:
> We should add the of_node_put() when breaking out of
> for_each_child_of_node() as it will automatically increase
> and decrease the refcount.
>
>

Applied, thanks!

[1/2] memory: of: Fix refcount leak bug in of_get_ddr_timings()
https://git.kernel.org/krzk/linux-mem-ctrl/c/b54af20531018c2bb7181ba2f511327b3c9f1cef
[2/2] memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
https://git.kernel.org/krzk/linux-mem-ctrl/c/2f1b3550a152baa8287ee95586f0385410a5296b

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>