diff options
| author | Alex Hung <[email protected]> | 2024-06-27 20:05:14 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:07:11 -0400 |
| commit | 35ff747c86767937ee1e0ca987545b7eed7a0810 (patch) | |
| tree | 6f6b4b03c7665c8d0fedab457e3385372835562c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1ff12bcd7deaeed25efb5120433c6a45dd5504a8 (diff) | |
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 <[email protected]>
Signed-off-by: Jerry Zuo <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions