diff options
| author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2020-06-14 02:14:50 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-03 11:19:23 +0200 |
| commit | 0d097bfa614a0b13224ddc4536c2a464f0e0b5fe (patch) | |
| tree | 6c7710000731def05a8bf820f33beb0d47d2becc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 6d0364cd0f378fdb5d4a707f0a6c3111bcea7b32 (diff) | |
drm/amd/display: fix ref count leak in amdgpu_drm_ioctl
[ Upstream commit 5509ac65f2fe5aa3c0003237ec629ca55024307c ]
in amdgpu_drm_ioctl 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
