diff options
author | Alex Hung <alex.hung@amd.com> | 2024-07-15 10:37:28 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-27 17:31:59 -0400 |
commit | 58a8ee96f84d2c21abb85ad8c22d2bbdf59bd7a9 (patch) | |
tree | f4c6763ee15fb6461ffbdeb9cb181ebfde8f9bae /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
parent | 722e96c99f1d7532fdfbb557f50a399f6cc57d82 (diff) |
drm/amd/display: Check stream_status before it is used
[WHAT & HOW]
dc_state_get_stream_status can return null, and therefore null must be
checked before stream_status is used.
This fixes 1 NULL_RETURNS 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