aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
diff options
context:
space:
mode:
authorRoman Li <roman.li@amd.com>2022-12-01 09:06:42 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-12-15 12:18:18 -0500
commit7a7175a2cd84b7874bebbf8e59f134557a34161b (patch)
tree7cb2cf492b3cfe63c6586dbda3cb216aaa8bbcad /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
parentdrm/amd/display: Revert Reduce delay when sink device not able to ACK 00340h write (diff)
downloadwireguard-linux-7a7175a2cd84b7874bebbf8e59f134557a34161b.tar.xz
wireguard-linux-7a7175a2cd84b7874bebbf8e59f134557a34161b.zip
drm/amd/display: Fix potential null-deref in dm_resume
[Why] Fixing smatch error: dm_resume() error: we previously assumed 'aconnector->dc_link' could be null [How] Check if dc_link null at the beginning of the loop, so further checks can be dropped. Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Wayne Lin <Wayne.Lin@amd.com> Acked-by: Jasdeep Dhillon <jdhillon@amd.com> Signed-off-by: Roman Li <roman.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
0 files changed, 0 insertions, 0 deletions