aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorAdam Richter <[email protected]>2015-10-16 10:33:02 +0000
committerDave Airlie <[email protected]>2015-10-21 22:29:08 +0000
commit30730c7f5943b3beace1e29f7f1476e05de3da14 (patch)
tree2420503336aa1afaca73ad9be3b06e79e9aef407 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadkernel-30730c7f5943b3beace1e29f7f1476e05de3da14.tar.gz
kernel-30730c7f5943b3beace1e29f7f1476e05de3da14.zip
drm: fix mutex leak in drm_dp_get_mst_branch_device
In Linux 4.3-rc5, there is an error case in drm_dp_get_branch_device that returns without releasing mgr->lock, resulting a spew of kernel messages about a kernel work function possibly having leaked a mutex and presumably more serious adverse consequences later. This patch changes the error to "goto out" to unlock the mutex before returning. [airlied: grabbed from drm-next as it fixes something we've seen] Signed-off-by: Adam J. Richter <[email protected]> Cc: [email protected] Signed-off-by: Daniel Vetter <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions