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
..
2015-03-02 16:43:41 -05:00
2015-04-01 12:43:09 -04:00
2015-04-27 13:40:53 -04:00
2015-04-01 22:52:29 -04:00
2015-04-07 15:21:55 -04:00
2015-04-22 09:09:46 -07:00
2015-04-02 14:05:00 -04:00
2015-04-11 22:29:40 -04:00
2015-04-02 14:05:01 -04:00
2015-04-22 18:45:49 -04:00