summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2020-06-14 02:05:28 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-03 11:19:23 +0200
commit28e269f9e6ac6dd13fc8342994130d2d90c77ee6 (patch)
tree4d081d2a66c94cc043e8c537b720a5fdea1a5e61 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent9b1e3b74c4e35eaaa2fc41c9bb805405c9390fa7 (diff)
drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails
[ Upstream commit f79f94765f8c39db0b7dec1d335ab046aac03f20 ] The call to pm_runtime_get_sync increments the counter even in case of failure, leading to incorrect ref count. In case of failure, decrement the ref count before returning. Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions