2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 14:14:01 +08:00
linux-next/arch/arm/mach-exynos
Wen Yang 629266bf72 ARM: exynos: Fix a leaked reference by adding missing of_node_put
The call to of_get_next_child returns a node pointer with refcount
incremented thus it must be explicitly decremented after the last
usage.

Detected by coccinelle with warnings like:
    arch/arm/mach-exynos/firmware.c:201:2-8: ERROR: missing of_node_put;
        acquired a node pointer with refcount incremented on line 193,
        but without a corresponding object release within this function.

Cc: stable@vger.kernel.org
Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2019-03-19 21:34:38 +01:00
..
include/mach ARM: exynos: Remove static mapping of SCU SFR 2018-05-13 14:06:55 +02:00
common.h ARM: exynos: Add CPU state management for Exynos542x under secure firmware 2019-03-19 21:07:47 +01:00
exynos-smc.S ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
exynos.c ARM: exynos: Add CPU state management for Exynos542x under secure firmware 2019-03-19 21:07:47 +01: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
Kconfig ARM: exynos: no need to select ARCH_HAS_BANDGAP any longer 2018-05-03 18:19:59 +02:00
Makefile ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
mcpm-exynos.c ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01:00
platsmp.c ARM updates for 5.1-rc1 2019-03-15 14:37:46 -07:00
pm.c ARM: exynos: Remove static mapping of SCU SFR 2018-05-13 14:06:55 +02:00
sleep.S ARM: EXYNOS: Add SPDX license identifiers 2018-01-03 18:36:22 +01: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: Fix a leaked reference by adding missing of_node_put 2019-03-19 21:34:38 +01:00