Re: [PATCH v6 1/4] drm/msm: clean event_thread->worker in case of an error

2022-09-08 Thread Dmitry Baryshkov
On 08/09/2022 03:08, Abhinav Kumar wrote: On 6/17/2022 4:33 PM, Dmitry Baryshkov wrote: 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. Fixe

Re: [PATCH v6 1/4] drm/msm: clean event_thread->worker in case of an error

2022-09-07 Thread Abhinav Kumar
On 6/17/2022 4:33 PM, Dmitry Baryshkov wrote: 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_cre