diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-06-14 21:22:30 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-06-14 22:42:09 +0200 |
commit | d8ac5bb4ae653e092d7429a7587b73f1662d6ad7 (patch) | |
tree | 0a270457eca47e2943435c770b1e103841873174 /sound/x86 | |
parent | 3da97620e8d60da4a7eaae46e03e0a494780642d (diff) |
thermal/drivers/sprd: Add missing of_node_put for loop iteration
Early exits from for_each_available_child_of_node() should decrement the
node reference counter. Reported by Coccinelle:
drivers/thermal/sprd_thermal.c:387:1-23: WARNING:
Function "for_each_child_of_node" should have of_node_put() before goto around lines 391.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210614192230.19248-2-krzysztof.kozlowski@canonical.com
Diffstat (limited to 'sound/x86')
0 files changed, 0 insertions, 0 deletions