2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/mtd/tests
Shraddha Barke af30c0a00a mtd: tests: Replace timeval with ktime_t
Changes the 32-bit time type timeval to the 64-bit time type
ktime_t, since 32-bit systems using struct timeval will break in the
year 2038. Correspondingly change do_gettimeofday() to ktime_get()
since ktime_get returns a ktime_t, but do_gettimeofday returns a
struct timeval.Here, ktime_get() is used instead of ktime_get_real()
since ktime_get() uses monotonic clock.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-10-26 13:23:47 -07:00
..
Makefile mtd: tests: rename sources in order to link a helper object 2013-08-30 21:34:06 +01:00
mtd_nandecctest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
mtd_test.c mtd: tests: fix integer overflow issues 2014-08-19 11:53:08 -07:00
mtd_test.h mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
nandbiterrs.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
oobtest.c mtd: mtd_oobtest: Fix the address offset with vary_offset case 2015-08-27 16:30:01 -07:00
pagetest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
readtest.c mtd: readtest: don't clobber error reports 2015-05-14 09:56:31 -07:00
speedtest.c mtd: tests: Replace timeval with ktime_t 2015-10-26 13:23:47 -07:00
stresstest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
subpagetest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
torturetest.c mtd: tests: Replace timeval with ktime_t 2015-10-26 13:23:47 -07:00