Re: [PATCH] soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register
From: Bjorn Andersson
Date: Sat Jul 02 2022 - 23:59:48 EST
On Mon, 6 Jun 2022 10:42:52 +0400, Miaoqian Lin wrote:
> Every iteration of for_each_available_child_of_node() decrements
> the reference count of the previous node.
> When breaking early from a for_each_available_child_of_node() loop,
> we need to explicitly call of_node_put() on the child node.
> Add missing of_node_put() to avoid refcount leak.
>
>
> [...]
Applied, thanks!
[1/1] soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register
commit: e6e0951414a314e7db3e9e24fd924b3e15515288
Best regards,
--
Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>