diff options
author | Zhang Xiaoxu <zhangxiaoxu5@huawei.com> | 2020-11-10 21:07:52 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-11-19 16:56:53 +1100 |
commit | a40fdaf1420d6e6bda0dd2df1e6806013e58dbe1 (patch) | |
tree | 04e9a2309cf14b2e2761becdf09db8edd687e0f7 /usr | |
parent | 987c426320cce72d1b28f55c8603b239e4f7187c (diff) |
Revert "powerpc/pseries/hotplug-cpu: Remove double free in error path"
This reverts commit a0ff72f9f5a780341e7ff5e9ba50a0dad5fa1980.
Since the commit b015f6bc9547 ("powerpc/pseries: Add cpu DLPAR
support for drc-info property"), the 'cpu_drcs' wouldn't be double
freed when the 'cpus' node not found.
So we needn't apply this patch, otherwise, the memory will be leaked.
Fixes: a0ff72f9f5a7 ("powerpc/pseries/hotplug-cpu: Remove double free in error path")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
[mpe: Caused by me applying a patch to a function that had changed in the interim]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201111020752.1686139-1-zhangxiaoxu5@huawei.com
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions