Re: [PATCH 2/5] Handle leap seconds in mktime64()

2015-12-18 Thread Arnd Bergmann
On Friday 18 December 2015 00:02:02 David Howells wrote: > Handle leap seconds in mktime64() - where the seconds parameter is the > value 60 - by treating it the same as 59. > > This facility will be used by the X.509 parser. Doing it in mktime64() > makes the policy common to the whole kernel

[PATCH 2/5] Handle leap seconds in mktime64()

2015-12-17 Thread David Howells
Handle leap seconds in mktime64() - where the seconds parameter is the value 60 - by treating it the same as 59. This facility will be used by the X.509 parser. Doing it in mktime64() makes the policy common to the whole kernel and easier to find. Whilst we're at it, remove the const markers