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 [off-list ref]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel