[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171130.092731.1542035335410279111.davem@davemloft.net>
Date: Thu, 30 Nov 2017 09:27:31 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: y2038@...ts.linaro.org, 3chas3@...il.com,
linux-atm-general@...ts.sourceforge.net, ruchandani.tina@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] atm: mpoa: remove 32-bit timekeeping
From: Arnd Bergmann <arnd@...db.de>
Date: Mon, 27 Nov 2017 15:02:17 +0100
> From: Tina Ruchandani <ruchandani.tina@...il.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@...il.com>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied.
Powered by blists - more mailing lists