Searched hist:"2222 ce0fbbcc4ebfa9995c8d23d72c8239ad712c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | diff 2222ce0fbbcc4ebfa9995c8d23d72c8239ad712c Wed Apr 29 20:44:58 CDT 2015 Nathan Fontenot <nfont@linux.vnet.ibm.com> powerpc/pseries: Fix possible leaked device node reference
Failure return from dlpar_configure_connector when dlpar adding cpus results in leaking references to the cpus parent device node. Move the call to of_node_put() prior to checking the result of dlpar_configure_connector.
Fixes: 8d5ff320766f ("powerpc/pseries: Make dlpar_configure_connector parent node aware")
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|