Revision 4fd1bd443e80b12f0a01a45fb9a793206b41cb72 authored by Laurent Vivier on 21 July 2017, 14:51:39 UTC, committed by Michael Ellerman on 26 July 2017, 06:41:53 UTC
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() both call
of_detach_node(), and thus the node should not be released in both
cases.

Fixes: 0829f6d1f69e ("of: device_node kobject lifecycle fixes")
Cc: stable@vger.kernel.org # v3.15+
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent a25bd72
History
File Mode Size
Kconfig -rw-r--r-- 3.0 KB
Makefile -rw-r--r-- 907 bytes
altera-fpga2sdram.c -rw-r--r-- 5.3 KB
altera-freeze-bridge.c -rw-r--r-- 7.2 KB
altera-hps2fpga.c -rw-r--r-- 6.1 KB
altera-pr-ip-core-plat.c -rw-r--r-- 2.0 KB
altera-pr-ip-core.c -rw-r--r-- 5.3 KB
fpga-bridge.c -rw-r--r-- 9.1 KB
fpga-mgr.c -rw-r--r-- 15.0 KB
fpga-region.c -rw-r--r-- 15.5 KB
ice40-spi.c -rw-r--r-- 5.3 KB
socfpga-a10.c -rw-r--r-- 15.6 KB
socfpga.c -rw-r--r-- 17.4 KB
ts73xx-fpga.c -rw-r--r-- 4.1 KB
xilinx-pr-decoupler.c -rw-r--r-- 3.9 KB
xilinx-spi.c -rw-r--r-- 4.7 KB
zynq-fpga.c -rw-r--r-- 17.3 KB

back to top