From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [Y2038] [PATCH v2] xen/pcifront: Remove usage of struct timeval Date: Wed, 20 May 2015 14:21:50 +0200 Message-ID: <3083587.uSon9UE2TV__44849.9877508313$1432124622$gmane$org@wuerfel> References: <20150519060809.GA27777@tinar> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Yv30e-0000KQ-Bs for xen-devel@lists.xenproject.org; Wed, 20 May 2015 12:22:04 +0000 In-Reply-To: <20150519060809.GA27777@tinar> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: y2038@lists.linaro.org Cc: linux-pci@vger.kernel.org, Tina Ruchandani , David Vrabel , Bjorn Helgaas , xen-devel@lists.xenproject.org, Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org On Tuesday 19 May 2015 11:38:09 Tina Ruchandani wrote: > struct timeval uses a 32-bit field for representing seconds, > which will overflow in the year 2038 and beyond. This patch replaces > struct timeval with 64-bit ktime_t which is 2038 safe. > The patch is part of a larger effort to remove instances of > 32-bit timekeeping variables (timeval, time_t and timespec) > from the kernel. > > Signed-off-by: Tina Ruchandani > Suggested-by: Arnd Bergmann > Reviewed-by: Arnd Bergmann