commit | 898c7302f4de1d91065e80fc46552b3ec70894ff | [log] [tgz] |
---|---|---|
author | Flora Cui <flora.cui@amd.com> | Wed Sep 23 14:42:59 2020 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Sep 29 17:07:34 2020 -0400 |
tree | 64f0fbeb6c5c382505847a3c8ca086879a14fc9b | |
parent | 0c7014154d6397d6a35bf3759839207f1c702a42 [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>