Re: [PATCH v7] isdn: Use ktime_t instead of 'struct timeval'

2016-03-20 Thread David Miller
From: Tina Ruchandani Date: Sat, 19 Mar 2016 11:21:14 -0700 > 'struct timeval' uses 32-bit representation for seconds which will > overflow in year 2038 and beyond. mISDN/clock.c needs to compute and > store elapsed time in intervals of 125 microseconds. This patch

[PATCH v7] isdn: Use ktime_t instead of 'struct timeval'

2016-03-19 Thread Tina Ruchandani
'struct timeval' uses 32-bit representation for seconds which will overflow in year 2038 and beyond. mISDN/clock.c needs to compute and store elapsed time in intervals of 125 microseconds. This patch replaces the usage of 'struct timeval' with 64-bit ktime_t which is y2038 safe. The patch also