diff options
| author | Hersen Wu <[email protected]> | 2024-04-24 16:15:15 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-02 16:18:16 -0400 |
| commit | cf8b16857db702ceb8d52f9219a4613363e2b1cf (patch) | |
| tree | 517df121a4a19bd5a65fec59fb8b62dc406d95fd /tools/perf/scripts/python/stackcollapse.py | |
| parent | 84723eb6068c50610c5c0893980d230d7afa2105 (diff) | |
drm/amd/display: Stop amdgpu_dm initialize when link nums greater than max_links
[Why]
Coverity report OVERRUN warning. There are
only max_links elements within dc->links. link
count could up to AMDGPU_DM_MAX_DISPLAY_INDEX 31.
[How]
Make sure link count less than max_links.
Reviewed-by: Harry Wentland <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Hersen Wu <[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