diff options
author | Tina Ruchandani | 2015-05-31 09:17:06 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2015-06-10 02:09:51 +0200 |
commit | 9056a23ba19d911d4a079b8ca543fb8ebffa7c56 (patch) | |
tree | c4c4317831ba2bf1e12f04fe689715f2c7378677 /drivers/media/rc/gpio-ir-recv.c | |
parent | [media] b2c2: Add option to skip the first 6 pid filters (diff) | |
download | kernel-qcow2-linux-9056a23ba19d911d4a079b8ca543fb8ebffa7c56.tar.gz kernel-qcow2-linux-9056a23ba19d911d4a079b8ca543fb8ebffa7c56.tar.xz kernel-qcow2-linux-9056a23ba19d911d4a079b8ca543fb8ebffa7c56.zip |
[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/media/rc/gpio-ir-recv.c')
0 files changed, 0 insertions, 0 deletions