From: Arnd Bergmann <arnd@arndb.de>
To: Tina Ruchandani <ruchandani.tina@gmail.com>
Cc: linux-media@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [media] rc-core: Remove 'struct timeval' usage
Date: Thu, 05 Nov 2015 17:11:23 +0100 [thread overview]
Message-ID: <3925745.FRk6iC2V7r@wuerfel> (raw)
In-Reply-To: <20151029071657.GA11549@google.com>
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@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.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
prev parent reply other threads:[~2015-11-05 16:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-29 7:16 [PATCH] [media] rc-core: Remove 'struct timeval' usage Tina Ruchandani
2015-11-05 16:11 ` Arnd Bergmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3925745.FRk6iC2V7r@wuerfel \
--to=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@osg.samsung.com \
--cc=ruchandani.tina@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox