e1000: fix time comparison
authorAsaf Vertz <asaf.vertz@tandemg.com>
Thu, 8 Jan 2015 06:01:00 +0000 (06:01 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Jan 2015 02:10:15 +0000 (18:10 -0800)
commitd5c7d7f6427cd7c39353d09bf47bfbc7800b6a53
tree57a9217f78bc38954f841bea5194a350e1793f3b
parent0c49087462e8587c12ecfeaf1dd46fdc0ddc4532
e1000: fix time comparison

To be future-proof and for better readability the time comparisons are
modified to use time_after_eq() instead of plain, error-prone math.

Signed-off-by: Asaf Vertz <asaf.vertz@tandemg.com>
Acked-by: Jacob Keller <jacob.e.keller@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/e1000/e1000_ethtool.c