diff options
author | Chinh T Cao <[email protected]> | 2018-11-05 12:18:35 -0800 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2018-11-07 09:37:28 -0800 |
commit | ffe498237b36ee42624e139b21efa05da4ff1f48 (patch) | |
tree | 4eaba0f799a3617fa386ccf03ad6c8d485b80f27 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 4c9b658eeaefedd402a59e858d8ac3bfdf6153e3 (diff) |
ice: Change req_speeds to be u16
Since the req_speeds field in struct ice_link_status is a u8,
req_speeds & ICE_AQ_LINK_SPEED_40GB always returns 0. This was caught
by a coverity scan.
Fix this by changing req_speeds to be u16.
Reported-by: Bruce Allan <[email protected]>
Signed-off-by: Chinh T Cao <[email protected]>
Signed-off-by: Anirudh Venkataramanan <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions