On Tue, 10 Nov 2020 21:07:52 -0500, Zhang Xiaoxu wrote: > 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 leak.
Applied to powerpc/next. [1/1] Revert "powerpc/pseries/hotplug-cpu: Remove double free in error path" https://git.kernel.org/powerpc/c/a40fdaf1420d6e6bda0dd2df1e6806013e58dbe1 cheers