diff options
author | Abhinav Kumar <abhinavk@codeaurora.org> | 2021-03-05 20:17:18 +0100 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-04-07 20:05:44 +0200 |
commit | 7d649cfe0314aad2ba18042885ab9de2f13ad809 (patch) | |
tree | c51b6c9eb2e89107d0210b9072224e2e371a87f5 /drivers/gpu/drm/msm/dp/dp_debug.c | |
parent | drm/msm/dp: Fix indentation kbot warnings in DP driver (diff) | |
download | linux-7d649cfe0314aad2ba18042885ab9de2f13ad809.tar.xz linux-7d649cfe0314aad2ba18042885ab9de2f13ad809.zip |
drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver
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@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1614971839-2686-2-git-send-email-abhinavk@codeaurora.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/dp/dp_debug.c')
0 files changed, 0 insertions, 0 deletions