diff options
author | 2024-06-03 14:27:55 -0600 | |
---|---|---|
committer | 2024-06-19 12:44:47 -0400 | |
commit | 7cf24de30e8ab875abc92a81ff227ab9e5f4282e (patch) | |
tree | 96efc22fe3b735ceaa0e09be729517b3a1464357 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | drm/amd/display: Check dc_stream_state before it is used (diff) | |
download | wireguard-linux-7cf24de30e8ab875abc92a81ff227ab9e5f4282e.tar.xz wireguard-linux-7cf24de30e8ab875abc92a81ff227ab9e5f4282e.zip |
drm/amd/display: Check pipe_ctx before it is used
resource_get_odm_slice_count and resource_get_otg_master_for_stream can
return null, and their returns must be checked before used.
This fixes 4 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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions