From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752196AbcA0COx (ORCPT ); Tue, 26 Jan 2016 21:14:53 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:34649 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632AbcA0COu (ORCPT ); Tue, 26 Jan 2016 21:14:50 -0500 To: Arnd Bergmann Cc: "Martin K. Petersen" , "James E.J. Bottomley" , Johannes Thumshirn , Tina Ruchandani , Himanshu Madhani , y2038@lists.linaro.org, linux-scsi , linux-kernel , Dept-Eng QLA2xxx Upstream Subject: Re: [PATCH, RESEND 3] qla2xxx: Remove use of 'struct timeval' From: "Martin K. Petersen" Organization: Oracle Corporation References: <3640852.TIcaPixAiA@wuerfel> Date: Tue, 26 Jan 2016 21:14:35 -0500 In-Reply-To: <3640852.TIcaPixAiA@wuerfel> (Arnd Bergmann's message of "Mon, 25 Jan 2016 23:00:20 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Arnd" == Arnd Bergmann writes: Arnd> struct register_host_info stores a 64-bit UTC system time Arnd> timestamp. This patch removes the use of 'struct timeval' to Arnd> obtain that timestamp as its tv_sec value will overflow on 32-bit Arnd> systems in year 2038 beyond. The patch uses Arnd> ktime_get_real_seconds() which returns a 64-bit seconds value. Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering