commit | 5cfc912582e13b05d71fb7acc4ec69ddfa9af320 | [log] [tgz] |
---|---|---|
author | Jiansong Chen <Jiansong.Chen@amd.com> | Tue May 25 14:14:58 2021 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Jun 02 17:51:12 2021 -0400 |
tree | 39fb8d6b4fb42950bd79d37d653cf74c12b9ae9a | |
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>