]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit3775b814d5380a25ed89b881d845f79f81bc5547
treec3bcf7c00405f2fbcc2655fa1b387a6a0024fab9
parent832ac592149f542052e387f17dfcfa7ebea50aaf
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