From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753221AbbKAWBm (ORCPT ); Sun, 1 Nov 2015 17:01:42 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:55420 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752741AbbKAWBk (ORCPT ); Sun, 1 Nov 2015 17:01:40 -0500 Date: Sun, 01 Nov 2015 17:01:38 -0500 (EST) Message-Id: <20151101.170138.358342779450639583.davem@davemloft.net> To: ruchandani.tina@gmail.com Cc: dccp@vger.kernel.org, arnd@arndb.de, y2038@lists.linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [DCCP]: Use 64-bit timekeeping From: David Miller In-Reply-To: <20151030082456.GA31370@tina-laptop> References: <20151030082456.GA31370@tina-laptop> 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]); Sun, 01 Nov 2015 14:01:39 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tina Ruchandani Date: Fri, 30 Oct 2015 01:24:56 -0700 > This patch changes the use of struct timespec in > dccp_probe to use struct timespec64 instead. timespec uses a 32-bit > seconds field which will overflow in the year 2038 and beyond. timespec64 > uses a 64-bit seconds field. Note that the correctness of the code isn't > changed, since the original code only uses the timestamps to compute a > small elapsed interval. This patch is part of a larger attempt to remove > instances of 32-bit timekeeping structures (timespec, timeval, time_t) > from the kernel so it is easier to identify where the real 2038 issues > are. > > Signed-off-by: Tina Ruchandani Applied, thanks.