diff options
author | sunliming <sunliming@kylinos.cn> | 2022-06-23 09:27:07 +0800 |
---|---|---|
committer | Abhinav Kumar <quic_abhinavk@quicinc.com> | 2022-06-23 10:34:36 -0700 |
commit | eb174bd875ae504cdc1b5b209da288fffb1e5128 (patch) | |
tree | f5ccf2410948aadeff45a16459696b0526e081df /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 0769d0a7ae3c26c0f2210578f83b3d1b30391601 (diff) | |
download | linux-eb174bd875ae504cdc1b5b209da288fffb1e5128.tar.gz linux-eb174bd875ae504cdc1b5b209da288fffb1e5128.tar.bz2 linux-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 <sunliming@kylinos.cn>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/490850/
Link: https://lore.kernel.org/r/20220623012707.453972-1-sunliming@kylinos.cn
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions