summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorAnju T Sudhakar <anju@linux.vnet.ibm.com>2018-05-22 14:42:34 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2018-06-03 20:43:36 +1000
commitcb094fa5af7c9623084aa4c3cf529b196f5c3b5c (patch)
tree3603b714c9bb76b3aea84113998f8a27dd9fdb86 /MAINTAINERS
parent589b1f7e4b0db4c31cef3b55f7514857bfc4b093 (diff)
downloadop-kernel-dev-cb094fa5af7c9623084aa4c3cf529b196f5c3b5c.zip
op-kernel-dev-cb094fa5af7c9623084aa4c3cf529b196f5c3b5c.tar.gz
powerpc/perf: Rearrange memory freeing in imc init
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 <anju@linux.vnet.ibm.com> Reviewed-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud