diff options
author | Tina Ruchandani <ruchandani.tina@gmail.com> | 2015-10-29 08:16:57 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-11-19 12:31:45 +0100 |
commit | dd4c22a61e0bdaf84202fcf84cb8f75ed7bb3552 (patch) | |
tree | 7cef248203e463111c0dae2ff1cb2d47aae528d8 /drivers/media/rc/ir-rx51.c | |
parent | [media] em28xx: add Terratec Cinergy T XS (MT2060) (diff) | |
download | linux-dd4c22a61e0bdaf84202fcf84cb8f75ed7bb3552.tar.xz linux-dd4c22a61e0bdaf84202fcf84cb8f75ed7bb3552.zip |
[media] rc-core: Remove 'struct timeval' usage
streamzap uses 'struct timeval' to store the start time of a signal for
gap tracking. struct timeval uses a 32-bit seconds representation which
will overflow in year 2038 and beyond. Replace struct timeval with ktime_t
which uses a 64-bit seconds representation and is 2038 safe. This patch
uses ktime_get_real() preserving the use of wall-clock time in the
original code.
Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/rc/ir-rx51.c')
0 files changed, 0 insertions, 0 deletions