diff options
| author | Dan Carpenter <[email protected]> | 2020-07-27 16:39:40 +0300 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-07-27 16:45:35 -0400 |
| commit | 9b66d6600e6a060333712c54af90631eb6276d93 (patch) | |
| tree | 918b38217716f25a9f04f8a2557a6caf5bd1be04 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 4c0d0bcb224f968510aff5eddef2b294e5aa4b8b (diff) | |
drm/amd/powerplay: off by one bugs in smu_cmn_to_asic_specific_index()
These tables have _COUNT number of elements so the comparisons should be
>= instead of > to prevent reading one element beyond the end of the
array.
Fixes: 8264ee69f0d8 ("drm/amd/powerplay: drop unused code")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions