diff options
author | Jiansong Chen <Jiansong.Chen@amd.com> | 2021-05-25 14:14:58 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-02 17:51:12 -0400 |
commit | 5cfc912582e13b05d71fb7acc4ec69ddfa9af320 (patch) | |
tree | 39fb8d6b4fb42950bd79d37d653cf74c12b9ae9a /tools/perf/scripts/python/stackcollapse.py | |
parent | 147feb007685cbb765b16a834d4f00675d589bb4 (diff) |
drm/amdgpu: refine amdgpu_fru_get_product_info
1. eliminate potential array index out of bounds.
2. return meaningful value for failure.
Signed-off-by: Jiansong Chen <Jiansong.Chen@amd.com>
Reviewed-by: Jack Gui <Jack.Gui@amd.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