summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorJiansong Chen <Jiansong.Chen@amd.com>2021-05-25 14:14:58 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-05-25 23:47:11 -0400
commit02b865f88b4e4f72d441c34e5aa4e5eebbd04fbb (patch)
treede9f20e939163e64dd6130ee28a8ea142550e7c8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent2a4021ccb8fee543fec96a34bf962a7318779779 (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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions