]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ARM: EXYNOS: fix double of_node_put() on error path
authorVladimir Zapolskiy <vz@mleia.com>
Fri, 31 Jul 2015 00:09:50 +0000 (03:09 +0300)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 31 Jul 2015 01:12:17 +0000 (10:12 +0900)
commit3e9f798784b30293012682021d5a0352f78658b8
tree8c48f670e1f4fd5ac4a0df4088c1e82c0ee27d97
parent27bbd23fe8e66edfff4c0e92eb9eb39c37856831
ARM: EXYNOS: fix double of_node_put() on error path

The change removes the second of_node_put(), if
for_each_compatible_node() body execution is not terminated. This
prevents from object refcounter overflow over zero in OF_DYNAMIC
build.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/mach-exynos/pm_domains.c