diff options
author | Alex Hung <alex.hung@amd.com> | 2024-06-03 08:28:47 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-19 12:44:41 -0400 |
commit | 470f3760cfe6dd2ce66cf9159e65876f7eb28792 (patch) | |
tree | 99f7fffc06d223a147164dab42dcc2f9282ec61f /scripts/gdb/linux/utils.py | |
parent | c76f56f252455c8c7851a596a2f89be18efe43ed (diff) |
drm/amd/display: Check dc_stream_state before it is used
dc_state_get_stream_status dc_state_get_paired_subvp_stream and other
functions can return null, and therefore null must be checked before
status can be used.
This fixes 21 NULL_RETURNS issues reported by Coverity.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions