Re: [PATCH] powerpc/pseries: Fix possible leaked device node reference

2015-04-30 Thread Michael Ellerman
On Thu, 2015-04-30 at 14:58 -0700, Tyrel Datwyler wrote: > On 04/29/2015 06:44 PM, Nathan Fontenot wrote: > > 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 t

Re: [PATCH] powerpc/pseries: Fix possible leaked device node reference

2015-04-30 Thread Tyrel Datwyler
On 04/29/2015 06:44 PM, Nathan Fontenot wrote: > 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: 8d5ff320766

[PATCH] powerpc/pseries: Fix possible leaked device node reference

2015-04-29 Thread Nathan Fontenot
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