Messages in this thread | | | From | Bjorn Andersson <> | Subject | Re: [PATCH] soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register | Date | Sat, 2 Jul 2022 22:56:33 -0500 |
| |
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@linaro.org>
| |