aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2016-04-05 14:50:32 +0100
committerMark Yao <mark.yao@rock-chips.com>2016-05-03 14:11:22 +0800
commit69b007968e7519cf1e44920f4578054c9e0fbdc3 (patch)
tree00bcee6f4c3a1737b9b4f45fef42344b40f41a62 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentdrm/rockchip: remove redundant statement (diff)
downloadlinux-dev-69b007968e7519cf1e44920f4578054c9e0fbdc3.tar.xz
linux-dev-69b007968e7519cf1e44920f4578054c9e0fbdc3.zip
drm/rockchip: don't leak iommu mapping
arm_iommu_attach_device() takes its own reference to the mapping we give it. Since we do not keep a reference to the mapping ourselves, we must release it before returning. Also fix the error path, which fails to release the mapping if it has called arm_iommu_detach_device() since that clears archdata.mapping. Signed-off-by: John Keeping <john@metanate.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions