summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2021-01-21 12:03:59 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2021-01-25 22:18:42 +0300
commit94e9dd43cf327366388c8f146bccdc6322c0d999 (patch)
treef250c8bc39521ad4625c09a7d3d987709f7ac394 /include/soc
parent1821203150330c4b5604b0350f23902838b53fb7 (diff)
downloadlinux-94e9dd43cf327366388c8f146bccdc6322c0d999.tar.xz
memory: ti-aemif: Drop child node when jumping out loop
Call of_node_put() to decrement the reference count of the child node child_np when jumping out of the loop body of for_each_available_child_of_node(), which is a macro that increments and decrements the reference count of child node. If the loop is broken, the reference of the child node should be dropped manually. Fixes: 5a7c81547c1d ("memory: ti-aemif: introduce AEMIF driver") Signed-off-by: Pan Bian <bianpan2016@163.com> Link: https://lore.kernel.org/r/20210121090359.61763-1-bianpan2016@163.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions