Re: [PATCH v2] [SCSI] bfa: Replace bfa_get_log_time()

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 07:44:39 Tina Ruchandani wrote: > struct timeval will have its tv_sec field overflow on 32-bit systems > in year 2038 and beyond. This patch removes bfa_get_log_time which > uses struct timeval, and instead replaces calls to it with > calls to ktime_get_real_seconds()

[PATCH v2] [SCSI] bfa: Replace bfa_get_log_time()

2015-02-24 Thread Tina Ruchandani
struct timeval will have its tv_sec field overflow on 32-bit systems in year 2038 and beyond. This patch removes bfa_get_log_time which uses struct timeval, and instead replaces calls to it with calls to ktime_get_real_seconds() which returns 64-bit wall-clock seconds. Signed-off-by: Tina Ruchanda