]> git.baikalelectronics.ru Git - kernel.git/commit
e1000: Use time_after() for time comparison
authorManuel Schölling <manuel.schoelling@gmx.de>
Fri, 23 May 2014 18:04:17 +0000 (18:04 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 4 Jun 2014 06:58:06 +0000 (23:58 -0700)
commite3e2277bdc8512c5d8e12d1366c81473586c6a0f
tree850a080598e47d8cf3bb2225e1a883d9e108b2c1
parent2819f81e199f13ad2db9768baa8ee9923b1c74eb
e1000: Use time_after() for time comparison

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

Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
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