On Tue, 2018-05-22 at 09:12:34 UTC, Anju T Sudhakar wrote: > When any of the IMC (In-Memory Collection counter) devices fail > to initialize, imc_common_mem_free() frees set of memory. In doing so, > pmu_ptr pointer is also freed. But pmu_ptr pointer is used in subsequent > function (imc_common_cpuhp_mem_free()) which is wrong. Patch here reorders > the code to avoid such access. > > Also free the memory which is dynamically allocated during imc > initialization, wherever required. > > Signed-off-by: Anju T Sudhakar <a...@linux.vnet.ibm.com> > Reviewed-by: Madhavan Srinivasan <ma...@linux.vnet.ibm.com>
Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/cb094fa5af7c9623084aa4c3cf529b cheers