diff options
author | Alex Hung <[email protected]> | 2024-06-03 14:27:55 -0600 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-06-19 12:44:47 -0400 |
commit | 7cf24de30e8ab875abc92a81ff227ab9e5f4282e (patch) | |
tree | 96efc22fe3b735ceaa0e09be729517b3a1464357 /lib/test_fortify/write_overflow-memset.c | |
parent | 470f3760cfe6dd2ce66cf9159e65876f7eb28792 (diff) |
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 <[email protected]>
Acked-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memset.c')
0 files changed, 0 insertions, 0 deletions