diff options
author | Tina Ruchandani <ruchandani.tina@gmail.com> | 2015-05-31 07:17:06 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-06-10 00:09:51 (GMT) |
commit | 9056a23ba19d911d4a079b8ca543fb8ebffa7c56 (patch) | |
tree | c4c4317831ba2bf1e12f04fe689715f2c7378677 /drivers/acpi/acpi_ipmi.c | |
parent | d3525b632a0b5e113fb78b7db84598e082cf903b (diff) | |
download | linux-9056a23ba19d911d4a079b8ca543fb8ebffa7c56.tar.xz |
[media] dvb-frontend: Replace timeval with ktime_t
struct timeval uses a 32-bit seconds representation which will
overflow in the year 2038 and beyond. This patch replaces
the usage of struct timeval with ktime_t which is a 64-bit
timestamp and is year 2038 safe.
This patch is part of a larger attempt to remove all instances
of 32-bit timekeeping variables (timeval, timespec, time_t)
which are not year 2038 safe, from the kernel.
[mchehab@osg.samsung.com: add a missing parenthesis, breaking compilation]
Suggested-by: Arnd Bergmann <arndb@arndb.de>
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/acpi/acpi_ipmi.c')
0 files changed, 0 insertions, 0 deletions