aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorsunliming <[email protected]>2022-08-26 08:41:21 +0000
committerAlex Deucher <[email protected]>2022-08-29 21:44:11 +0000
commit45a92f45f4578ff89da7dc5ef50bab4ef870f3b7 (patch)
tree47f108756035aaca3bc4371220b68076f8fe21cb /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/amdgpu: Remove the unneeded result variable (diff)
downloadkernel-45a92f45f4578ff89da7dc5ef50bab4ef870f3b7.tar.gz
kernel-45a92f45f4578ff89da7dc5ef50bab4ef870f3b7.zip
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 <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: sunliming <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions