Skip to content
Commit 3e9f7987 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Krzysztof Kozlowski
Browse files

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: default avatarVladimir Zapolskiy <vz@mleia.com>
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
parent 27bbd23f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment