summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorFlora Cui <flora.cui@amd.com>2020-09-23 14:42:59 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-09-25 16:53:32 -0400
commit3704cdd30aa99a4fa2551e164fe074da0e1bc1fd (patch)
tree704854243e386399b9cb5f3a009bee903ca8c9e5 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent84d244a364d3e9e115f3d189b8bd3098968eac1d (diff)
drm/amd/display: fix return value check for hdcp_work
max_caps might be 0, thus hdcp_work might be ZERO_SIZE_PTR Signed-off-by: Flora Cui <flora.cui@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions