[PATCH 1/2] memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration
Krzysztof Kozlowski
krzysztof.kozlowski at canonical.com
Tue May 11 05:49:58 PDT 2021
On Fri, 23 Apr 2021 12:18:14 +0200, Krzysztof Kozlowski wrote:
> Early exits from for_each_available_child_of_node() should decrement the
> node reference counter. Reported by Coccinelle:
>
> drivers/memory/stm32-fmc2-ebi.c:1046:1-33: WARNING:
> Function "for_each_available_child_of_node" should have of_node_put() before return around line 1051.
Applied, thanks!
[1/2] memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration
commit: 2f9dc6a357ff3b82c1e54d29fb5d52b8d4a0c587
[2/2] memory: atmel-ebi: add missing of_node_put for loop iteration
commit: 907c5bbb514a4676160e79764522fff56ce3448e
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
More information about the linux-arm-kernel
mailing list