[Freedreno] [PATCH RESEND] drm/msm/dpu: Fix variable dereferenced before check

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Sat Jun 25 00:13:25 UTC 2022


On Fri, 24 Jun 2022 at 04:07, sunliming <sunliming at kylinos.cn> wrote:
>
> Fixes the following smatch warning:
>
> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:261
> dpu_encoder_phys_wb_atomic_check() warn: variable dereferenced before check 'conn_state'
>
> Fixes: d7d0e73f7de3 ("drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback")
> Reported-by: kernel test robot <lkp at intel.com>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: sunliming <sunliming at kylinos.cn>
> Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>


-- 
With best wishes
Dmitry


More information about the Freedreno mailing list