diff options
author | Jiansong Chen <[email protected]> | 2021-05-25 14:14:58 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-05-25 23:47:11 -0400 |
commit | 02b865f88b4e4f72d441c34e5aa4e5eebbd04fbb (patch) | |
tree | de9f20e939163e64dd6130ee28a8ea142550e7c8 /drivers/fpga/fpga-bridge.c | |
parent | 2a4021ccb8fee543fec96a34bf962a7318779779 (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 <[email protected]>
Reviewed-by: Jack Gui <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions