summaryrefslogtreecommitdiff
path: root/tools/testing
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:24:19 +0200
commitf93736e489642e7fdece41ed29aeb0fe1bef5fd3 (patch)
tree86fc98323de6022eee25813d7ccde3c0f1723823 /tools/testing
parentd94a5e441cf1a7bf9f88580248fb5f8205b26c53 (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/testing')
0 files changed, 0 insertions, 0 deletions