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

2015-11-05 Thread Arnd Bergmann
On Friday 30 October 2015 02:15:26 Tina Ruchandani wrote: > struct register_host_info stores a 64-bit UTC system time timestamp. > This patch removes the use of 'struct timeval' to obtain that timestamp > as its tv_sec value will overflow on 32-bit systems in year 2038 beyond. > The patch uses

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

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

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

2015-10-30 Thread Johannes Thumshirn
On Fri, 2015-10-30 at 02:15 -0700, Tina Ruchandani wrote: > struct register_host_info stores a 64-bit UTC system time timestamp. > This patch removes the use of 'struct timeval' to obtain that > timestamp > as its tv_sec value will overflow on 32-bit systems in year 2038 > beyond. > The patch uses