diff options
| author | Adam Richter <[email protected]> | 2015-10-16 10:33:02 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2015-10-19 09:00:47 +0000 |
| commit | 6749c9f023d49adca3ca4773e93282b95ceebfb5 (patch) | |
| tree | 18ed5e6eaa1033902742b0a636ecfca771ce168a /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm: Check plane src coordinates correctly during page flip for atomic drivers (diff) | |
| download | kernel-6749c9f023d49adca3ca4773e93282b95ceebfb5.tar.gz kernel-6749c9f023d49adca3ca4773e93282b95ceebfb5.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.
Signed-off-by: Adam J. Richter <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
