Re: [RESEND PATCH v2] scsi: gdth: replace struct timeval with ktime_get_real_seconds()

From: Martin K. Petersen
Date: Thu Feb 25 2016 - 21:17:48 EST


>>>>> "Alison" == Alison Schofield <amsfield22@xxxxxxxxx> writes:

Alison> struct timeval will overflow on 32-bit systems in y2038 and is
Alison> being removed from the kernel. Replace the use of struct timeval
Alison> and do_gettimeofday() with ktime_get_real_seconds() which
Alison> provides a 64-bit seconds value and is y2038 safe.

Applied to 4.6/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering