diff options
author | Jiansong Chen <[email protected]> | 2021-05-25 14:14:58 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-06-02 17:51:12 -0400 |
commit | 5cfc912582e13b05d71fb7acc4ec69ddfa9af320 (patch) | |
tree | 39fb8d6b4fb42950bd79d37d653cf74c12b9ae9a /drivers/fpga/fpga-bridge.c | |
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 <[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