[Freedreno] [PATCH 2/3] drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver

Stephen Boyd swboyd at chromium.org
Fri Mar 26 01:17:46 UTC 2021


Quoting Abhinav Kumar (2021-03-05 11:17:18)
> Fix an incorrect NULL check reported by kbot in the MSM DP driver
> 
> smatch warnings:
> drivers/gpu/drm/msm/dp/dp_hpd.c:37 dp_hpd_connect()
> error: we previously assumed 'hpd_priv->dp_cb' could be null
> (see line 37)
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Abhinav Kumar <abhinavk at codeaurora.org>
> ---

Reviewed-by: Stephen Boyd <swboyd at chromium.org>


More information about the Freedreno mailing list