[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165682055970.445910.6550423116947481475.b4-ty@linaro.org>
Date: Sat, 2 Jul 2022 22:56:33 -0500
From: Bjorn Andersson <bjorn.andersson@...aro.org>
To: Thara Gopinath <thara.gopinath@...aro.org>,
Andy Gross <agross@...nel.org>, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, Miaoqian Lin <linmq006@...il.com>
Subject: Re: [PATCH] soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register
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@...aro.org>
Powered by blists - more mailing lists