linux/drivers/net/ethernet/intel/e1000e
Jeff Kirsher 30544af548 e1000e: fix call to do_div() to use u64 arg
We were using s64 for lat_ns (latency nano-second value) since in
our calculations a negative value could be a resultant.  For negative
values, we then assign lat_ns to be zero, so the value passed to
do_div() was never negative, but do_div() expects the argument type
to be u64, so do a cast to resolve a compile warning seen on
PowerPC.

CC: Yanjiang Jin <yanjiang.jin@windriver.com>
CC: Yanir Lubetkin <yanirx.lubetkin@intel.com>
Reported-by: Yanjiang Jin <yanjiang.jin@windriver.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
2015-05-04 01:38:08 -07:00
..
80003es2lan.c
80003es2lan.h
82571.c e1000e: Cleanup handling of VLAN_HLEN as a part of max frame size 2015-05-04 01:20:30 -07:00
82571.h
defines.h
e1000.h e1000e: Move pm_qos_req to e1000e adapter 2015-04-13 13:15:14 -04:00
ethtool.c
hw.h
ich8lan.c e1000e: fix call to do_div() to use u64 arg 2015-05-04 01:38:08 -07:00
ich8lan.h
mac.c
mac.h
Makefile
manage.c
manage.h
netdev.c e1000e: Do not allow CRC stripping to be disabled on 82579 w/ jumbo frames 2015-05-04 01:26:44 -07:00
nvm.c
nvm.h
param.c
phy.c
phy.h
ptp.c ptp: e1000e: use helpers for converting ns to timespec. 2015-03-31 17:19:18 -04:00
regs.h