aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJulien Grall <[email protected]>2016-05-31 12:41:23 +0100
committerWill Deacon <[email protected]>2016-06-03 10:16:21 +0100
commit5988a363edb9eb9f31486ceb2cd10e8b45f05dda (patch)
treee8c67f24348f9490a62d24d4125b30a2dae87791 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent0f254c7671e851243412bce6c2e618732831d0f8 (diff)
drivers/perf: arm_pmu: Avoid leaking pmu->irq_affinity on error
pmu->irq_affinity will not be freed if an error occurred within arm_pmu_device_probe after of_pmu_irq_cfg has been called. Note that in the case of_pmu_irq_cfg is returning an error, pmu->irq_affinity will not be set, but it should be NULL as pmu was kzalloc'd. Therefore the result kfree(NULL) is benign. Signed-off-by: Julien Grall <[email protected]> Acked-by: Mark Rutland <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions