powerpc/pseries: Fix of_node_put() underflow during pseries remove

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jul 27 22:38:29 AEST 2017


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 at redhat.com>
> Reviewed-by: David Gibson <david at gibson.dropbear.id.au>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/4fd1bd443e80b12f0a01a45fb9a793

cheers


More information about the Linuxppc-dev mailing list