git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d5ff32
)
powerpc/pseries: Add mising of_node_put in delete_dt_node
author
Tyrel Datwyler
<tyreld@linux.vnet.ibm.com>
Thu, 15 Aug 2013 05:23:51 +0000
(22:23 -0700)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 27 Aug 2013 04:45:15 +0000
(14:45 +1000)
The node to be detached is retrieved via its phandle by a call to
of_find_node_by_phandle which increments the ref count. We need a matching
call to of_node_put to decrement the ref count and ensure the node is
actually freed.
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Acked-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
No differences found