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

2018-01-18 Thread Martin K. Petersen
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

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

2018-01-18 Thread Sumit Saxena
@vger.kernel.org; linux-ker...@vger.kernel.org Subject: [PATCH] [RESEND] megaraid: use ktime_get_real for firmware time 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. Signed

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

2018-01-17 Thread Arnd Bergmann
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. Signed-off-by: Arnd Bergmann --- Sent originally in Nov 2017, no comments. Please apply --- drivers/scsi/megaraid/megarai