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

From: Arnd Bergmann
Date: Fri Dec 18 2015 - 04:10:02 EST


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 and easier to find.
>
> Whilst we're at it, remove the const markers from all the parameters since
> they don't really achieve anything and we do need to alter the sec
> parameter.
>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> cc: John Stultz <john.stultz@xxxxxxxxxx>
> cc: Arnd Bergmann <arnd@xxxxxxxx>
> cc: stable@xxxxxxxxxxxxxxx
>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/