]> git.baikalelectronics.ru Git - kernel.git/commit
lpfc: use time_after()
authorManuel Schölling <manuel.schoelling@gmx.de>
Wed, 3 Sep 2014 16:55:58 +0000 (12:55 -0400)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:10:06 +0000 (09:10 -0700)
commita9324c37831427b88975259302ed9f3cda2b5327
tree93e68f1aaf0090ef4a71abf7821f5544e6f9ffa4
parentc23331e53679615aa81e0fe377ed1490c030db28
lpfc: use time_after()

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>
Reviewed-by: James Smart <james.smart@emulex.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/lpfc/lpfc_scsi.c