Re: [PATCH, RESEND 3] qla2xxx: Remove use of 'struct timeval'

From: Martin K. Petersen
Date: Tue Jan 26 2016 - 21:14:56 EST


>>>>> "Arnd" == Arnd Bergmann <arnd@xxxxxxxx> writes:

Arnd> struct register_host_info stores a 64-bit UTC system time
Arnd> timestamp. This patch removes the use of 'struct timeval' to
Arnd> obtain that timestamp as its tv_sec value will overflow on 32-bit
Arnd> systems in year 2038 beyond. The patch uses
Arnd> ktime_get_real_seconds() which returns a 64-bit seconds value.

Applied to 4.6/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering