Re: [Y2038] [RESEND PATCH v3] scsi: stex: Remove use of struct timeval

2015-11-05 Thread Arnd Bergmann
On Friday 30 October 2015 01:30:40 Tina Ruchandani wrote: > Function stex_gettime uses 'struct timeval' whose tv_sec value > will overflow on 32-bit systems in year 2038 and beyond. This patch > replaces the use of struct timeval and do_gettimeofday with > ktime_get_real_seconds, which returns a 64

Re: [Y2038] [RESEND PATCH v3] scsi: stex: Remove use of struct timeval

2015-10-30 Thread Arnd Bergmann
On Friday 30 October 2015 01:54:10 Tina Ruchandani wrote: > > > > Thanks for the conversion. Can you please check if other (scsi) drivers > > have the same y2038 issues? A quick "git grep do_gettimeofday > > drivers/scsi/ | wc -l" reveals 30 occurrences (of cause not all are > > problematic). In