aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorQinglang Miao <[email protected]>2020-10-28 17:15:51 +0800
committerMichael Ellerman <[email protected]>2020-11-19 14:50:14 +1100
commitffa1797040c5da391859a9556be7b735acbe1242 (patch)
tree68141856fee3baeab18fedb8f67a15fc259f2d50 /tools/perf/scripts/python/flamegraph.py
parentf5eca0b279117f25020112a2f65ec9c3ea25f3ac (diff)
powerpc: sysdev: add missing iounmap() on error in mpic_msgr_probe()
I noticed that iounmap() of msgr_block_addr before return from mpic_msgr_probe() in the error handling case is missing. So use devm_ioremap() instead of just ioremap() when remapping the message register block, so the mapping will be automatically released on probe failure. Signed-off-by: Qinglang Miao <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions