Re: [Y2038] [PATCH v3] Staging: media: Replace timeval with ktime_t

2015-05-13 Thread John Stultz
On Wed, May 13, 2015 at 2:10 PM, Mauro Carvalho Chehab mche...@osg.samsung.com wrote: Em Wed, 13 May 2015 21:53:07 +0200 Arnd Bergmann a...@arndb.de escreveu: On Wednesday 13 May 2015 10:04:48 John Stultz wrote: On Wed, May 13, 2015 at 9:57 AM, Ksenija Stanojevic

Re: [Y2038] [PATCH v3] Staging: media: Replace timeval with ktime_t

2015-05-13 Thread Arnd Bergmann
On Wednesday 13 May 2015 10:04:48 John Stultz wrote: On Wed, May 13, 2015 at 9:57 AM, Ksenija Stanojevic ksenija.stanoje...@gmail.com wrote: 'struct timeval last_tv' is used to get the time of last signal change and 'struct timeval last_intr_tv' is used to get the time of last UART

Re: [Y2038] [PATCH v3] Staging: media: Replace timeval with ktime_t

2015-05-13 Thread Mauro Carvalho Chehab
Em Wed, 13 May 2015 21:53:07 +0200 Arnd Bergmann a...@arndb.de escreveu: On Wednesday 13 May 2015 10:04:48 John Stultz wrote: On Wed, May 13, 2015 at 9:57 AM, Ksenija Stanojevic ksenija.stanoje...@gmail.com wrote: 'struct timeval last_tv' is used to get the time of last signal change

Re: [Y2038] [PATCH v3] Staging: media: Replace timeval with ktime_t

2015-05-13 Thread Mauro Carvalho Chehab
Em Wed, 13 May 2015 14:45:38 -0700 John Stultz john.stu...@linaro.org escreveu: On Wed, May 13, 2015 at 2:10 PM, Mauro Carvalho Chehab mche...@osg.samsung.com wrote: Em Wed, 13 May 2015 21:53:07 +0200 Arnd Bergmann a...@arndb.de escreveu: On Wednesday 13 May 2015 10:04:48 John Stultz

[PATCH v3] Staging: media: Replace timeval with ktime_t

2015-05-13 Thread Ksenija Stanojevic
'struct timeval last_tv' is used to get the time of last signal change and 'struct timeval last_intr_tv' is used to get the time of last UART interrupt. 32-bit systems using 'struct timeval' will break in the year 2038, so we have to replace that code with more appropriate types. Here struct

Re: [PATCH v3] Staging: media: Replace timeval with ktime_t

2015-05-13 Thread John Stultz
On Wed, May 13, 2015 at 9:57 AM, Ksenija Stanojevic ksenija.stanoje...@gmail.com wrote: 'struct timeval last_tv' is used to get the time of last signal change and 'struct timeval last_intr_tv' is used to get the time of last UART interrupt. 32-bit systems using 'struct timeval' will break in