Re: [PATCH] ARM: exynos: add missing of_node_put for loop iteration

From
Arnd Bergmann <arnd@arndb.de>
Date
2021-04-25 18:44:12
Also in
linux-samsung-soc, lkml
Reply to
Krzysztof Kozlowski, 2021-04-25
On Sun, Apr 25, 2021 at 7:50 PM Krzysztof Kozlowski
[off-list ref] wrote:
Early exits from for_each_compatible_node() should decrement the
node reference counter.  Reported by Coccinelle:

  arch/arm/mach-exynos/exynos.c:52:1-25: WARNING:
    Function "for_each_compatible_node" should have of_node_put() before break around line 58.

Fixes: b3205dea8fbf ("ARM: EXYNOS: Map SYSRAM through generic DT bindings")
Signed-off-by: Krzysztof Kozlowski <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>

I've already tagged the pull requests for 5.13, so I guess you can
just add this into
your next fixes branch.

       Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (3 messages) 3 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