Re: [PATCH] [RESEND] megaraid: use ktime_get_real for firmware time

From: Martin K. Petersen
Date: Thu Jan 18 2018 - 21:36:51 EST



Arnd,

> do_gettimeofday() overflows in 2038 on 32-bit architectures and
> is deprecated, so convert this driver to call ktime_get_real()
> directly. This also simplifies the calculation.

Applied to 4.16/scsi-queue. Thanks!

--
Martin K. Petersen Oracle Linux Engineering