Chinh T Cao ffe498237b 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 <bruce.w.allan@intel.com>
Signed-off-by: Chinh T Cao <chinh.t.cao@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-11-07 09:37:28 -08:00
..
2018-10-24 14:30:40 -07:00
2018-10-24 13:56:37 -07:00
2018-11-06 12:46:47 -08:00
2018-03-26 09:59:08 -07:00
2018-11-06 12:46:47 -08:00
2018-11-07 09:37:28 -08:00
2018-11-06 12:46:47 -08:00
2018-11-06 12:46:47 -08:00
2018-10-03 07:42:30 -07:00