net/ice/base: fix a couple of casting
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 23 Mar 2020 07:17:45 +0000 (15:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commit0aa1ab2fb443aa9dc85b2d469d939dd2db04386b
treee8b685cc2cb389c9e0e6bdb0a8052566c0aa91c9
parentbbed2226fda6804a0ec4dbde359f7a8a19b2dd6f
net/ice/base: fix a couple of casting

Adjust variable size between u8 and u16 to fix casting issues
Also fix couple coding style issues

Karol Kolacinski <karol.kolacinski@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_adminq_cmd.h
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h
drivers/net/ice/base/ice_controlq.c
drivers/net/ice/base/ice_flex_pipe.c
drivers/net/ice/base/ice_flex_pipe.h
drivers/net/ice/base/ice_switch.c
drivers/net/ice/base/ice_type.h