On Sat, Dec 12, 2015 at 8:24 PM, DengChao <[email protected]> wrote: > The type of static variant "time_reftime" and the call of get_seconds > in ntp are both not y2038 safe. > So change the type of time_reftime to time64_t and replace get_seconds > with __ktime_get_real_seconds. > The local variant "secs" in ntp_update_offset represents seconds between > now and last ntp adjustment, it seems impossible that this time will last > more than 68 years, so keep its type as "long". > > Reviewed-by: John Stultz <[email protected]> > Signed-off-by: DengChao <[email protected]>
Reworked the commit log a bit, but queued this for testing. thanks -john -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

