diff options
| author | Adam Richter <[email protected]> | 2015-10-16 10:33:02 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2015-10-21 22:29:08 +0000 |
| commit | 30730c7f5943b3beace1e29f7f1476e05de3da14 (patch) | |
| tree | 2420503336aa1afaca73ad9be3b06e79e9aef407 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
| download | kernel-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
