[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3925745.FRk6iC2V7r@wuerfel>
Date: Thu, 05 Nov 2015 17:11:23 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Tina Ruchandani <ruchandani.tina@...il.com>
Cc: linux-media@...r.kernel.org,
Mauro Carvalho Chehab <mchehab@....samsung.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [media] rc-core: Remove 'struct timeval' usage
On Thursday 29 October 2015 00:16:57 Tina Ruchandani wrote:
> 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@...il.com>
Reviewed-by: Arnd Bergmann <arnd@...db.de>
I've applied it to my y2038 tree for the moment, so I won't forget
about it, but it would be nice if Mauro could pick it up as well and let
me drop it from my tree.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists