linux/drivers/net/ethernet/intel/igb
Alexander Duyck 415cd2a645 igb: Fix sparse warning about passing __beXX into leXX_to_cpup
We were casting the addr as __beXX and then passing it into le32_to_cpu
because the device expects the MAC address to be in network order even
though the register set is little endian.  Instead of casting it as __beXX
we can just cast it as __leXX in order to maintain consistency since the
region of memory is already in little endian order as far as we are
concerned.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-04-06 12:16:07 -07:00
..
e1000_82575.c igb: constify e1000_phy_operations structure 2016-02-24 15:11:07 -08:00
e1000_82575.h igb: rename igb define to be more generic 2016-02-24 15:29:16 -08:00
e1000_defines.h igb: Allow asymmetric configuration of MTU versus Rx frame size 2016-02-15 16:27:21 -08:00
e1000_hw.h igb: constify e1000_phy_operations structure 2016-02-24 15:11:07 -08:00
e1000_i210.c igb: Remove GS40G specific defines/functions 2015-12-14 10:20:06 -08:00
e1000_i210.h igb: Remove GS40G specific defines/functions 2015-12-14 10:20:06 -08:00
e1000_mac.c igb: Merge VLVF configuration into igb_vfta_set 2016-02-15 16:36:52 -08:00
e1000_mac.h igb: Merge VLVF configuration into igb_vfta_set 2016-02-15 16:36:52 -08:00
e1000_mbx.c igb/igbvf: don't give up 2016-02-15 16:17:57 -08:00
e1000_mbx.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_nvm.c igb/ixgbe: remove return statements for void functions 2014-05-23 05:28:41 -07:00
e1000_nvm.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_phy.c igb: Improve cable length function for I210, etc. 2015-12-14 16:04:05 -08:00
e1000_phy.h igb: Remove GS40G specific defines/functions 2015-12-14 10:20:06 -08:00
e1000_regs.h igb: improve handling of disconnected adapters 2015-12-12 23:51:26 -08:00
igb_ethtool.c igb: call ndo_stop() instead of dev_close() when running offline selftest 2016-02-24 15:54:39 -08:00
igb_hwmon.c igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
igb_main.c igb: Fix sparse warning about passing __beXX into leXX_to_cpup 2016-04-06 12:16:07 -07:00
igb_ptp.c igb: add conditions for I210 to generate periodic clock output 2016-02-24 15:18:53 -08:00
igb.h igb: call ndo_stop() instead of dev_close() when running offline selftest 2016-02-24 15:54:39 -08:00
Makefile igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00