commit | fe3652858a36bb1aa116f23258ea9cc353426566 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Mon Nov 06 09:06:50 2017 -0500 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Nov 07 03:11:02 2017 -0500 |
tree | ed71a37421d7461a034eebac11eabcdc26ae7643 | |
parent | b3120d2cc447ee77b9d69bf4ad7b452c9adb4d39 [diff] |
media: av7110: avoid 2038 overflow in debug print Using the deprecated do_gettimeofday() in print_time() will overflow in 2038 on 32-bit architectures. It'sbetter to use a structure that is safe everywhere. While we're at it, fix the missing leading zeroes on the sub-second portion. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>