Re: [PATCH v3] mtd: test: Replace timeval with ktime_t in speedtest.c and torturetest.c

2015-01-14 Thread Chunyan Zhang
Hi, Brian Thank you so much ! Best regards, Chunyan On Thu, Jan 8, 2015 at 9:26 AM, Brian Norris wrote: > On Thu, Dec 18, 2014 at 08:53:10AM +0100, Arnd Bergmann wrote: >> On Thursday 18 December 2014 11:23:31 Chunyan Zhang wrote: >> > This patch changes the 32-bit time type (timeval) to the 64

Re: [PATCH v3] mtd: test: Replace timeval with ktime_t in speedtest.c and torturetest.c

2015-01-07 Thread Brian Norris
On Thu, Dec 18, 2014 at 08:53:10AM +0100, Arnd Bergmann wrote: > On Thursday 18 December 2014 11:23:31 Chunyan Zhang wrote: > > This patch changes the 32-bit time type (timeval) to the 64-bit one > > (ktime_t), since 32-bit time types will break in the year 2038. > > > > I use ktime_t instead of t

Re: [PATCH v3] mtd: test: Replace timeval with ktime_t in speedtest.c and torturetest.c

2014-12-17 Thread Arnd Bergmann
On Thursday 18 December 2014 11:23:31 Chunyan Zhang wrote: > This patch changes the 32-bit time type (timeval) to the 64-bit one > (ktime_t), since 32-bit time types will break in the year 2038. > > I use ktime_t instead of timeval to define 'start' and 'finish' > which are used to get the time fo

[PATCH v3] mtd: test: Replace timeval with ktime_t in speedtest.c and torturetest.c

2014-12-17 Thread Chunyan Zhang
This patch changes the 32-bit time type (timeval) to the 64-bit one (ktime_t), since 32-bit time types will break in the year 2038. I use ktime_t instead of timeval to define 'start' and 'finish' which are used to get the time for tow points. This patch also changes do_gettimeofday() to ktime_get