Re: [PATCH] drm: Add checks for NULL drm_*_helper_funcs

2018-05-31 Thread Daniel Vetter
On Tue, May 29, 2018 at 12:03:24PM +0300, Haneen Mohammed wrote: > On Tue, May 29, 2018 at 10:03:53AM +0200, Daniel Vetter wrote: > > On Fri, May 25, 2018 at 05:20:08AM +0300, Haneen Mohammed wrote: > > > This patch add checks for NULL drm_[connector/crtc/plane]_helper_funcs > > > pointers before d

Re: [PATCH] drm: Add checks for NULL drm_*_helper_funcs

2018-05-30 Thread Haneen Mohammed
On Tue, May 29, 2018 at 10:03:53AM +0200, Daniel Vetter wrote: > On Fri, May 25, 2018 at 05:20:08AM +0300, Haneen Mohammed wrote: > > This patch add checks for NULL drm_[connector/crtc/plane]_helper_funcs > > pointers before derefrencing the variable to avoid NULL pointer > > dereference and make t

Re: [PATCH] drm: Add checks for NULL drm_*_helper_funcs

2018-05-29 Thread Daniel Vetter
On Fri, May 25, 2018 at 05:20:08AM +0300, Haneen Mohammed wrote: > This patch add checks for NULL drm_[connector/crtc/plane]_helper_funcs > pointers before derefrencing the variable to avoid NULL pointer > dereference and make the helper functions as optional as possible. > > Signed-off-by: Haneen

[PATCH] drm: Add checks for NULL drm_*_helper_funcs

2018-05-25 Thread Haneen Mohammed
This patch add checks for NULL drm_[connector/crtc/plane]_helper_funcs pointers before derefrencing the variable to avoid NULL pointer dereference and make the helper functions as optional as possible. Signed-off-by: Haneen Mohammed --- drivers/gpu/drm/drm_atomic_helper.c | 42 +++---