summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-06-28 05:05:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-07-24 00:07:11 +0300
commit35ff747c86767937ee1e0ca987545b7eed7a0810 (patch)
tree6f6b4b03c7665c8d0fedab457e3385372835562c /scripts
parent1ff12bcd7deaeed25efb5120433c6a45dd5504a8 (diff)
downloadlinux-35ff747c86767937ee1e0ca987545b7eed7a0810.tar.xz
drm/amd/display: Check stream before comparing them
[WHAT & HOW] amdgpu_dm can pass a null stream to dc_is_stream_unchanged. It is necessary to check for null before dereferencing them. This fixes 1 FORWARD_NULL issue reported by Coverity. Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Jerry Zuo <jerry.zuo@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions