]> git.karo-electronics.de Git - linux-beck.git/commit
e1000e: remove call to do_div and sign mismatch warning
authorYanir Lubetkin <yanirx.lubetkin@intel.com>
Wed, 22 Apr 2015 02:55:43 +0000 (05:55 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 3 Jun 2015 10:24:42 +0000 (03:24 -0700)
commitbfc9473bf90457bf31d3f675d82234897c6480cd
treef370f3a0b2390cb6d038e4ce869480a1f3ed8ef6
parent0ffc56464bbbb8e2a78e319a36e1eafcbaaab9d8
e1000e: remove call to do_div and sign mismatch warning

Fixes a warning that was reported by Yanjiang Jin
<yanjiang.jin@windriver.com> by implementing the solution suggested by
Alexander Duyck <alexander.h.duyck@redhat.com>.

Signed-off-by: Yanir Lubetkin <yanirx.lubetkin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/ich8lan.c