Re: [PATCH 3/3] drm/msm/dsi: check msm_dsi and dsi pointers before use

2018-01-15 Thread Rob Clark
On Mon, Jan 15, 2018 at 10:01 AM, Lloyd Atkinson wrote: > On 1/15/2018 9:48 AM, Rob Clark wrote: >> On Fri, Jan 12, 2018 at 3:55 PM, Lloyd Atkinson >> wrote: >>> Move null checks of pointer arguments to the beginning of the >>> modeset init function since they are referenced immediately >>> inst

Re: [PATCH 3/3] drm/msm/dsi: check msm_dsi and dsi pointers before use

2018-01-15 Thread Lloyd Atkinson
On 1/15/2018 9:48 AM, Rob Clark wrote: > On Fri, Jan 12, 2018 at 3:55 PM, Lloyd Atkinson > wrote: >> Move null checks of pointer arguments to the beginning of the >> modeset init function since they are referenced immediately >> instead of after they have already been used. >> >> Signed-off-by: L

Re: [PATCH 3/3] drm/msm/dsi: check msm_dsi and dsi pointers before use

2018-01-15 Thread Rob Clark
On Fri, Jan 12, 2018 at 3:55 PM, Lloyd Atkinson wrote: > Move null checks of pointer arguments to the beginning of the > modeset init function since they are referenced immediately > instead of after they have already been used. > > Signed-off-by: Lloyd Atkinson > --- > drivers/gpu/drm/msm/dsi/d