Home
last modified time | relevance | path

Searched hist:"14 cd820a2a45a1f7b216c6ca9104c91d52564fbf" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/platforms/pseries/
H A Dmobility.cdiff 14cd820a2a45a1f7b216c6ca9104c91d52564fbf Thu Aug 15 07:23:51 CEST 2013 Tyrel Datwyler <tyreld@linux.vnet.ibm.com> powerpc/pseries: Add mising of_node_put in delete_dt_node

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>