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
chips
devices
lpddr
maps
nand
onenand
spi-nor
tests
ubi
Kconfig -rw-r--r-- 11.7 KB
Makefile -rw-r--r-- 1.1 KB
afs.c -rw-r--r-- 6.1 KB
ar7part.c -rw-r--r-- 3.9 KB
bcm47xxpart.c -rw-r--r-- 10.1 KB
bcm63xxpart.c -rw-r--r-- 8.4 KB
cmdlinepart.c -rw-r--r-- 10.7 KB
ftl.c -rw-r--r-- 31.3 KB
inftlcore.c -rw-r--r-- 24.5 KB
inftlmount.c -rw-r--r-- 22.4 KB
mtd_blkdevs.c -rw-r--r-- 13.4 KB
mtdblock.c -rw-r--r-- 9.7 KB
mtdblock_ro.c -rw-r--r-- 2.5 KB
mtdchar.c -rw-r--r-- 27.0 KB
mtdconcat.c -rw-r--r-- 22.8 KB
mtdcore.c -rw-r--r-- 49.1 KB
mtdcore.h -rw-r--r-- 876 bytes
mtdoops.c -rw-r--r-- 11.8 KB
mtdpart.c -rw-r--r-- 24.8 KB
mtdsuper.c -rw-r--r-- 5.5 KB
mtdswap.c -rw-r--r-- 35.2 KB
nftlcore.c -rw-r--r-- 23.0 KB
nftlmount.c -rw-r--r-- 26.0 KB
ofpart.c -rw-r--r-- 5.6 KB
redboot.c -rw-r--r-- 8.2 KB
rfd_ftl.c -rw-r--r-- 18.3 KB
sm_ftl.c -rw-r--r-- 30.2 KB
sm_ftl.h -rw-r--r-- 2.5 KB
ssfdc.c -rw-r--r-- 11.3 KB

back to top