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

2018-05-31 Thread Daniel Vetter
On Wed, May 30, 2018 at 03:42:59AM +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 optional in the following > cases: > > 1) when usi

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

2018-05-30 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 optional in the following cases: 1) when using drm_helper_probe_single_connector_modes for fill_modes callback in the drm