diff options
| author | Alex Hung <[email protected]> | 2024-07-15 16:37:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-27 21:31:59 +0000 |
| commit | 58a8ee96f84d2c21abb85ad8c22d2bbdf59bd7a9 (patch) | |
| tree | f4c6763ee15fb6461ffbdeb9cb181ebfde8f9bae /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
| parent | drm/amd/display: Check null pointers before using them (diff) | |
| download | kernel-58a8ee96f84d2c21abb85ad8c22d2bbdf59bd7a9.tar.gz kernel-58a8ee96f84d2c21abb85ad8c22d2bbdf59bd7a9.zip | |
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 <[email protected]>
Reviewed-by: Rodrigo Siqueira <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
0 files changed, 0 insertions, 0 deletions
