]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:41:10 +0000 (16:41 -0700)
commitbd77f4d2b842b0f25495bf2a78c0fa653976eb8e
tree46e342a916e369d6edb0f9a5a480568ab0db7a1c
parentbeba860186af7a4cfe3db6100369d9a6c75f8bca
ixgbe: Change the lan_id and func fields to a u8 to avoid casts

Orabug: 23177316

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>
(cherry picked from commit 3775b814d5380a25ed89b881d845f79f81bc5547)
Signed-off-by: Brian Maly <brian.maly@oracle.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