From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753037AbdK3O1g (ORCPT ); Thu, 30 Nov 2017 09:27:36 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:44730 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752418AbdK3O1d (ORCPT ); Thu, 30 Nov 2017 09:27:33 -0500 Date: Thu, 30 Nov 2017 09:27:31 -0500 (EST) Message-Id: <20171130.092731.1542035335410279111.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 From: David Miller In-Reply-To: <20171127140337.3622068-1-arnd@arndb.de> References: <20171127140337.3622068-1-arnd@arndb.de> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 30 Nov 2017 06:27:32 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Date: Mon, 27 Nov 2017 15:02:17 +0100 > From: Tina Ruchandani > > 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 > Signed-off-by: Arnd Bergmann Applied.