Re: powerpc/pseries: Fix of_node_put() underflow during pseries remove
From: Michael Ellerman
Date: Thu Jul 27 2017 - 08:38:35 EST
On Fri, 2017-07-21 at 14:51:39 UTC, Laurent Vivier wrote:
> As for commit 68baf692c435 ("powerpc/pseries: Fix of_node_put()
> underflow during DLPAR remove"), the call to of_node_put()
> must be removed from pSeries_reconfig_remove_node().
>
> dlpar_detach_node() and pSeries_reconfig_remove_node() call
> of_detach_node(), and thus the node should not be released
> in this case too.
>
> Signed-off-by: Laurent Vivier <lvivier@xxxxxxxxxx>
> Reviewed-by: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/4fd1bd443e80b12f0a01a45fb9a793
cheers