[PATCH] drivers: s390: net: ctcm: migrate variables to handle y2038 problem

2014-11-04 Thread Aya Mahfouz
This patch is concerned with migrating the time variables for the s390 network driver. The changes handle the y2038 problem where timespec will overflow in the year 2038. timespec was replaced by unsigned long and all time variables get their values from the jiffies global variable. This was done f

Re: [PATCH] drivers: s390: net: ctcm: migrate variables to handle y2038 problem

2014-10-30 Thread Ursula Braun
Aya, thanks for this patch and thanks for calling our attention to this future problem in our code. Here you come up with a solution optimized for "accuracy", but you mention already an alternative solution optimized for "speed". In ctcm the time stamps are just used to deliver a statistic value.

[PATCH] drivers: s390: net: ctcm: migrate variables to handle y2038 problem

2014-10-29 Thread Aya Mahfouz
This patch is concerned with migrating the time variables for the s390 network driver. The changes handle the y2038 problem where timespec will overflow in the year 2038. timespec64 and unsigned long long were used instead of timespec and unsigned long respectively in two files. All timespec variab