summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-07-27 16:39:40 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-08-06 16:34:56 -0400
commit68bb3c3ff9d92645488382c7261de7d477f638e9 (patch)
tree556b579a5cb4f519026230b05475717da827f315 /tools/perf/scripts/python/stackcollapse.py
parenta486bc3c50198a7e895eef5dc3d2a94cd6186e4f (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 <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions