diff options
| author | Tina Ruchandani <ruchandani.tina@gmail.com> | 2015-10-29 10:16:57 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-11-19 14:31:45 +0300 |
| commit | dd4c22a61e0bdaf84202fcf84cb8f75ed7bb3552 (patch) | |
| tree | 7cef248203e463111c0dae2ff1cb2d47aae528d8 /include/linux/dmapool.h | |
| parent | 8c47311d34eccedb06bc60fc9435a53bd4aff392 (diff) | |
| download | linux-dd4c22a61e0bdaf84202fcf84cb8f75ed7bb3552.tar.xz | |
[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 'include/linux/dmapool.h')
0 files changed, 0 insertions, 0 deletions
