aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-06-03 08:28:47 -0600
committerAlex Deucher <alexander.deucher@amd.com>2024-06-19 12:44:41 -0400
commit470f3760cfe6dd2ce66cf9159e65876f7eb28792 (patch)
tree99f7fffc06d223a147164dab42dcc2f9282ec61f /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentc76f56f252455c8c7851a596a2f89be18efe43ed (diff)
downloadlinux-470f3760cfe6dd2ce66cf9159e65876f7eb28792.tar.gz
linux-470f3760cfe6dd2ce66cf9159e65876f7eb28792.tar.bz2
linux-470f3760cfe6dd2ce66cf9159e65876f7eb28792.zip
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions