From: David Miller <davem@davemloft.net>
To: arnd@arndb.de
Cc: y2038@lists.linaro.org, 3chas3@gmail.com,
linux-atm-general@lists.sourceforge.net,
ruchandani.tina@gmail.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] atm: mpoa: remove 32-bit timekeeping
Date: Thu, 30 Nov 2017 09:27:31 -0500 (EST) [thread overview]
Message-ID: <20171130.092731.1542035335410279111.davem@davemloft.net> (raw)
In-Reply-To: <20171127140337.3622068-1-arnd@arndb.de>
From: Arnd Bergmann <arnd@arndb.de>
Date: Mon, 27 Nov 2017 15:02:17 +0100
> From: Tina Ruchandani <ruchandani.tina@gmail.com>
>
> net/atm/mpoa_* files use 'struct timeval' to store event
> timestamps. struct timeval uses a 32-bit seconds field which will
> overflow in the year 2038 and beyond. Morever, the timestamps are being
> compared only to get seconds elapsed, so struct timeval which stores
> a seconds and microseconds field is an overkill. This patch replaces
> the use of struct timeval with time64_t to store a 64-bit seconds field.
>
> Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Applied.
prev parent reply other threads:[~2017-11-30 14:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-27 14:02 [PATCH] atm: mpoa: remove 32-bit timekeeping Arnd Bergmann
2017-11-30 14:27 ` David Miller [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=20171130.092731.1542035335410279111.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=3chas3@gmail.com \
--cc=arnd@arndb.de \
--cc=linux-atm-general@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ruchandani.tina@gmail.com \
--cc=y2038@lists.linaro.org \
/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