]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ntp/pps: use y2038 safe types in pps_event_time
authorArnd Bergmann <arnd@arndb.de>
Mon, 28 Sep 2015 20:21:31 +0000 (22:21 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 1 Oct 2015 16:59:16 +0000 (09:59 -0700)
commitade1bdffe90e59cd257cb9bd4f5abe4de5f14911
tree5ad7a6da9470e70915ea5d1640a5bd665ef2957b
parent5fd96c421ff2c76ec441aa4139c3b87dfea93e3a
ntp/pps: use y2038 safe types in pps_event_time

The pps_event_time uses two 'timespec' structures internally, which
suffer from the y2038 problem. The uses of this structure are
fairly self-contained in the pps code, so this replaces them all at
once.

Unfortunately, this includes the sfc ethernet driver aside from the
pps subsystem, so we change that one as well. Both touch the
same data structure, and there probably is no good way to split
the patch into smaller units.

Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/net/ethernet/sfc/ptp.c
drivers/pps/kapi.c
drivers/pps/kc.c
include/linux/pps_kernel.h