On Thu, Aug 22, 2024 at 6:12 PM Daniel Lezcano daniel.lezcano@linaro.org wrote:
On 14/08/2024 21:58, Krzysztof Kozlowski wrote:
Terminating for_each_available_child_of_node() loop requires dropping OF node reference, so bailing out on errors misses this. Solve the OF node reference leak with scoped for_each_available_child_of_node_scoped().
Fixes: 3fd6d6e2b4e8 ("thermal/of: Rework the thermal device tree initialization") Cc: stable@vger.kernel.org Signed-off-by: Krzysztof Kozlowski krzysztof.kozlowski@linaro.org
Reviewed-by: Daniel Lezcano daniel.lezcano@linaro.org
Applied along with the rest of the series as fixes for 6.11-rc, thanks!