diff options
author | Adam Richter <[email protected]> | 2015-10-16 03:33:02 -0700 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-10-22 08:29:08 +1000 |
commit | 30730c7f5943b3beace1e29f7f1476e05de3da14 (patch) | |
tree | 2420503336aa1afaca73ad9be3b06e79e9aef407 /tools/perf/scripts/python/stackcollapse.py | |
parent | 1099f86044111e9a7807f09523e42d4c9d0fb781 (diff) |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions