Re: [Y2038] [PATCH] drivers: md: use ktime_get_real_seconds()

2015-11-12 Thread Arnd Bergmann
On Wednesday 11 November 2015 19:23:33 Deepa Dinamani wrote: > get_seconds() API is not y2038 safe on 32 bit systems and the API > is deprecated. Replace it with calls to ktime_get_real_seconds() > API instead. Change mddev structure types to time64_t accordingly. > > 32 bit signed timestamps

Re: [Y2038] [PATCH] drivers: md: use ktime_get_real_seconds()

2015-11-12 Thread Deepa Dinamani
On Thu, Nov 12, 2015 at 1:56 PM, Arnd Bergmann wrote: > On Wednesday 11 November 2015 19:23:33 Deepa Dinamani wrote: > > get_seconds() API is not y2038 safe on 32 bit systems and the API > > is deprecated. Replace it with calls to ktime_get_real_seconds() > > API instead. Change

[Y2038] [PATCH] drivers: md: use ktime_get_real_seconds()

2015-11-11 Thread Deepa Dinamani
get_seconds() API is not y2038 safe on 32 bit systems and the API is deprecated. Replace it with calls to ktime_get_real_seconds() API instead. Change mddev structure types to time64_t accordingly. 32 bit signed timestamps will overflow in the year 2038. Change the user interface