summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorTang Yuantian <yuantian.tang@freescale.com>2013-04-10 11:36:39 +0800
committerGrant Likely <grant.likely@linaro.org>2013-04-17 15:53:12 +0100
commitb855f16b05a697ac1863adabe99bfba56e6d3199 (patch)
tree881f7a861790c977ad6d645bf2928b72a15d4d20 /Documentation
parent48d045dbe9c757681edfe8274211254c56d53a41 (diff)
downloadop-kernel-dev-b855f16b05a697ac1863adabe99bfba56e6d3199.zip
op-kernel-dev-b855f16b05a697ac1863adabe99bfba56e6d3199.tar.gz
of/base: release the node correctly in of_parse_phandle_with_args()
Call of_node_put() only when the out_args is NULL on success, or the node's reference count will not be correct because the caller will call of_node_put() again. Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> [grant.likely: tightened up the patch] Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud