diff options
| author | sunliming <[email protected]> | 2022-06-23 01:27:07 +0000 |
|---|---|---|
| committer | Abhinav Kumar <[email protected]> | 2022-06-23 17:34:36 +0000 |
| commit | eb174bd875ae504cdc1b5b209da288fffb1e5128 (patch) | |
| tree | f5ccf2410948aadeff45a16459696b0526e081df /drivers/gpu/drm/msm/msm_ringbuffer.c | |
| parent | drm/msm/dp: reset drm_dev to NULL at dp_display_unbind() (diff) | |
| download | kernel-eb174bd875ae504cdc1b5b209da288fffb1e5128.tar.gz kernel-eb174bd875ae504cdc1b5b209da288fffb1e5128.zip | |
drm/msm/dpu: Fix variable dereferenced before check
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")
Signed-off-by: sunliming <[email protected]>
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/490850/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Abhinav Kumar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
