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

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Tue May 11 05:37:43 PDT 2021


On Sun, 25 Apr 2021 19:49:45 +0200, Krzysztof Kozlowski 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.

Applied, thanks!

[1/1] ARM: exynos: add missing of_node_put for loop iteration
      commit: 48d551bf20858240f38a0276be3016ff379918ac

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>



More information about the linux-arm-kernel mailing list