Re: [PATCH 1/2] memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration

From
Krzysztof Kozlowski <hidden>
Date
2021-05-11 12:50:09
Also in
lkml
Reply to
Krzysztof Kozlowski, 2021-04-23
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
Thread (4 messages) 4 messages, 2 authors, last reply 2021-05-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help