[PATCH 0/2] ntp:Change the type of time_reftime and replace get_seconds()

2015-12-12 Thread DengChao
The type of ntp static variant "time_reftime" and the type of get_seconds()'s return value are both unsign long now, which may cause y2038 problem on 32bit systems. So change time_reftime' type to time64_t, and replace get_seconds with ktime_get_real_seconds() in ntp. ktime_get_real_seconds()

[PATCH 0/2] ntp:Change the type of time_reftime and replace get_seconds()

2015-12-12 Thread DengChao
The type of ntp static variant "time_reftime" and the type of get_seconds()'s return value are both unsign long now, which may cause y2038 problem on 32bit systems. So change time_reftime' type to time64_t, and replace get_seconds with ktime_get_real_seconds() in ntp. ktime_get_real_seconds()

[PATCH 0/2] ntp:Change the type of time_reftime and replace get_seconds()

2015-10-26 Thread DengChao
The type of ntp static variant "time_reftime" and the type of get_seconds()'s return value are both unsign long now, which may cause y2038 problem on 32bit systems. So change time_reftime' type to time64_t, and replace get_seconds with ktime_get_real_seconds() in ntp. ktime_get_real_seconds()

[PATCH 0/2] ntp:Change the type of time_reftime and replace get_seconds()

2015-10-26 Thread DengChao
The type of ntp static variant "time_reftime" and the type of get_seconds()'s return value are both unsign long now, which may cause y2038 problem on 32bit systems. So change time_reftime' type to time64_t, and replace get_seconds with ktime_get_real_seconds() in ntp. ktime_get_real_seconds()