]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Change the lan_id and func fields to a u8 to avoid casts
authorMark Rustad <mark.d.rustad@intel.com>
Mon, 14 Mar 2016 18:05:46 +0000 (11:05 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Apr 2016 22:26:31 +0000 (15:26 -0700)
commit5d9ef05476c3c307c57e0f3a89db3cc03e8f2616
treec3bcf7c00405f2fbcc2655fa1b387a6a0024fab9
parent0d65d9254375d8ef2c1945c1f76981a74ccde30c
ixgbe: Change the lan_id and func fields to a u8 to avoid casts

Since the lan_id and func fields only ever hold small values, make
them u8 to avoid casts used to silence warnings.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c