aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2022-06-18 02:33:25 +0300
committerDmitry Baryshkov <[email protected]>2023-01-09 22:54:42 +0200
commitc79bb6b92defdcb834ceeeed9c1cf591beb1b71a (patch)
treef52f88e5f1d529297ed01b98313471ab103f4a86 /tools/perf/scripts/python/futex-contention.py
parent7ad6586652fa736f6d07d8170ac723b8628481ce (diff)
drm/msm: clean event_thread->worker in case of an error
If worker creation fails, nullify the event_thread->worker, so that msm_drm_uninit() doesn't try accessing invalid memory location. While we are at it, remove duplicate assignment to the ret variable. Fixes: 1041dee2178f ("drm/msm: use kthread_create_worker instead of kthread_run") Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/490106/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions