diff options
author | Alex Hung <alex.hung@amd.com> | 2024-07-15 10:24:58 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-27 17:31:52 -0400 |
commit | 722e96c99f1d7532fdfbb557f50a399f6cc57d82 (patch) | |
tree | b0b00dd954cc90e001fc4456ee4293256fdc368a /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
parent | 3f96f545f877ac59d0c967f52d760b4b2b3b9a47 (diff) |
drm/amd/display: Check null pointers before using them
[WHAT & HOW]
dc_link is null checked previously in the same function, indicating it
might be null as reported by Coverity.
This fixes 1 FORWARD_NULL issue reported by Coverity.
Signed-off-by: Alex Hung <alex.hung@amd.com>
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
0 files changed, 0 insertions, 0 deletions