summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_drv.c
diff options
context:
space:
mode:
authorsunliming <sunliming@kylinos.cn>2022-08-26 16:41:21 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-08-29 17:44:11 -0400
commit45a92f45f4578ff89da7dc5ef50bab4ef870f3b7 (patch)
tree47f108756035aaca3bc4371220b68076f8fe21cb /drivers/gpu/drm/drm_drv.c
parent1d5d1947778cbbc9b469e57b9e1a56871250afa9 (diff)
drm/amd/display: Fix variable dereferenced before check
Fixes the following smatch warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c:311 dc_dmub_srv_p_state_delegate() warn: variable dereferenced before check 'dc' (see line 309) Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: sunliming <sunliming@kylinos.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
0 files changed, 0 insertions, 0 deletions