Re: [Freedreno] [PATCH] drm/msm/dpu: don't access mode pointer before it is set

2022-05-02 Thread Abhinav Kumar
On 5/2/2022 1:24 AM, Dmitry Baryshkov wrote: Move the initializer for the mode variable to the declaration point to remove unitialized variable access from the DEBUG_DPU macro. This fixes the following warning: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:250:37: note: initialize the

[Freedreno] [PATCH] drm/msm/dpu: don't access mode pointer before it is set

2022-05-02 Thread Dmitry Baryshkov
Move the initializer for the mode variable to the declaration point to remove unitialized variable access from the DEBUG_DPU macro. This fixes the following warning: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:250:37: note: initialize the variable 'mode' to silence this warning Fixes: d7