diff options
| author | Alex Hung <alex.hung@amd.com> | 2024-06-28 05:05:14 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-24 00:07:11 +0300 |
| commit | 35ff747c86767937ee1e0ca987545b7eed7a0810 (patch) | |
| tree | 6f6b4b03c7665c8d0fedab457e3385372835562c /scripts | |
| parent | 1ff12bcd7deaeed25efb5120433c6a45dd5504a8 (diff) | |
| download | linux-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
