]> git.baikalelectronics.ru Git - kernel.git/commit
ioat: Use time_before_jiffies()
authorManuel Schölling <manuel.schoelling@gmx.de>
Thu, 22 May 2014 20:11:06 +0000 (22:11 +0200)
committerDan Williams <dan.j.williams@intel.com>
Thu, 21 Aug 2014 18:39:22 +0000 (11:39 -0700)
commit257e2f961dbe5d2a42d1809e9b64296c3c42f3b3
treeb20b6a66aa3255cfec0485c4510910410671237f
parent73fb3d558dd2e967f7e676fbd8825f7d61a3d0a9
ioat: Use time_before_jiffies()

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

Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
[djbw: use time_before_jiffies() to make argument order more clear]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma_v2.c