Skip to content
Commit 898c7302 authored by Flora Cui's avatar Flora Cui Committed by Alex Deucher
Browse files

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: default avatarFlora Cui <flora.cui@amd.com>
Reviewed-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0c701415
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment