diff options
| author | Alex Hung <alex.hung@amd.com> | 2024-06-03 23:27:55 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-19 19:44:47 +0300 |
| commit | 7cf24de30e8ab875abc92a81ff227ab9e5f4282e (patch) | |
| tree | 96efc22fe3b735ceaa0e09be729517b3a1464357 /include/uapi | |
| parent | 470f3760cfe6dd2ce66cf9159e65876f7eb28792 (diff) | |
| download | linux-7cf24de30e8ab875abc92a81ff227ab9e5f4282e.tar.xz | |
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 'include/uapi')
0 files changed, 0 insertions, 0 deletions
