summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-sharp-decoder.c
diff options
context:
space:
mode:
authorTina Ruchandani <ruchandani.tina@gmail.com>2015-10-29 05:16:57 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-11-19 09:31:45 -0200
commitdd4c22a61e0bdaf84202fcf84cb8f75ed7bb3552 (patch)
tree7cef248203e463111c0dae2ff1cb2d47aae528d8 /drivers/media/rc/ir-sharp-decoder.c
parent8c47311d34eccedb06bc60fc9435a53bd4aff392 (diff)
downloadop-kernel-dev-dd4c22a61e0bdaf84202fcf84cb8f75ed7bb3552.zip
op-kernel-dev-dd4c22a61e0bdaf84202fcf84cb8f75ed7bb3552.tar.gz
[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-sharp-decoder.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud