linux-brain/arch/arm/mach-exynos
Krzysztof Kozlowski 13c5fa0a43 ARM: exynos: add missing of_node_put for loop iteration
[ Upstream commit 48d551bf20858240f38a0276be3016ff379918ac ]

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: b3205dea8f ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:10:51 +02:00
..
include/mach ARM: exynos: Remove static mapping of SCU SFR 2018-05-13 14:06:55 +02:00
Kconfig ARM: exynos: Enable support for ARM architected timers 2019-09-09 20:56:43 +02:00
Makefile Samsung mach/soc changes for v5.3 2019-06-26 19:30:10 -07:00
common.h docs: arm: convert docs to ReST and rename to *.rst 2019-07-15 09:20:24 -03:00
exynos-smc.S ARM: use arch_extension directive instead of arch argument 2019-06-19 09:44:25 -07:00
exynos.c ARM: exynos: add missing of_node_put for loop iteration 2021-07-20 16:10:51 +02:00
firmware.c ARM: exynos: Fix a leaked reference by adding missing of_node_put 2019-03-19 21:34:38 +01:00
headsmp.S ARM: smp: remove arch-provided "pen_release" 2019-02-01 22:05:23 +00:00
mcpm-exynos.c ARM: exynos: MCPM: Restore big.LITTLE cpuidle support 2020-08-19 08:15:55 +02:00
platsmp.c ARM: exynos: Fix infinite loops on CPU powerup failure 2019-04-09 15:07:33 +02:00
pm.c ARM: exynos: Remove static mapping of SCU SFR 2018-05-13 14:06:55 +02:00
sleep.S ARM: use arch_extension directive instead of arch argument 2019-06-19 09:44:25 -07:00
smc.h ARM: exynos: Add Exynos SMC values for secure memory write 2019-03-19 21:07:47 +01:00
suspend.c ARM: exynos: Cleanup cppcheck shifting warning 2019-06-25 20:45:09 +02:00