linux_dsm_epyc7002/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 e1000e: Failure to write SHRA turns on PROMISC mode 2014-05-26 23:53:11 -07:00
80003es2lan.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
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 e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
defines.h e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
e1000.h e1000e: Move pm_qos_req to e1000e adapter 2015-04-13 13:15:14 -04:00
ethtool.c e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
hw.h e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
ich8lan.c e1000e: fix call to do_div() to use u64 arg 2015-05-04 01:38:08 -07:00
ich8lan.h e1000e: initial support for i219 2015-02-23 17:11:53 -08:00
mac.c e1000e: remove unnecessary break after return 2014-07-20 21:30:18 -07:00
mac.h e1000e: Failure to write SHRA turns on PROMISC mode 2014-05-26 23:53:11 -07:00
Makefile e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
manage.c e1000e: delete excessive space character in debug message 2014-08-12 01:16:19 -07:00
manage.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
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 e1000e: Add code to check return values on NVM accesses 2014-07-25 20:51:00 -07:00
nvm.h e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
param.c e1000e: Cleanup to fix checkpatch missing blank lines 2014-04-23 01:05:08 -07:00
phy.c e1000e: Cleanup to fix checkpatch missing blank lines 2014-04-23 01:05:08 -07:00
phy.h e1000e: Workaround for dropped packets in Gig/100 speeds on 82579 2014-05-05 12:54:33 -07:00
ptp.c ptp: e1000e: use helpers for converting ns to timespec. 2015-03-31 17:19:18 -04:00
regs.h e1000e: initial support for i219 2015-02-23 17:11:53 -08:00