diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-04-25 19:49:45 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-05-11 14:33:01 +0200 |
commit | 48d551bf20858240f38a0276be3016ff379918ac (patch) | |
tree | 569b1c53a381a096a452371a2428c8a5233a041b /scripts/mksysmap | |
parent | ARM: s3c: Remove unnecessary break in RX1950 (diff) | |
download | linux-48d551bf20858240f38a0276be3016ff379918ac.tar.xz linux-48d551bf20858240f38a0276be3016ff379918ac.zip |
ARM: exynos: add missing of_node_put for loop iteration
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 <krzysztof.kozlowski@canonical.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210425174945.164612-1-krzysztof.kozlowski@canonical.com
Diffstat (limited to 'scripts/mksysmap')
0 files changed, 0 insertions, 0 deletions