diff options
author | 2021-05-25 14:14:58 +0800 | |
---|---|---|
committer | 2021-05-25 23:47:11 -0400 | |
commit | 02b865f88b4e4f72d441c34e5aa4e5eebbd04fbb (patch) | |
tree | de9f20e939163e64dd6130ee28a8ea142550e7c8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
parent | drm/amdgpu: Change IP init sequence to support PSP program IH_RB_CNTL on NV12 SRIOV (diff) | |
download | linux-dev-02b865f88b4e4f72d441c34e5aa4e5eebbd04fbb.tar.xz linux-dev-02b865f88b4e4f72d441c34e5aa4e5eebbd04fbb.zip |
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.h')
0 files changed, 0 insertions, 0 deletions