Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1317148

Re: [Y2038] [PATCH, RESEND 2] qla2xxx: Remove use of 'struct timeval'

From Himanshu Madhani <himanshu.madhani@qlogic.com>
Newsgroups linux.kernel
Subject Re: [Y2038] [PATCH, RESEND 2] qla2xxx: Remove use of 'struct timeval'
Date 2016-01-25 19:30 +0100
Message-ID <qUU3N-830-45@gated-at.bofh.it> (permalink)
References <qTL2y-5iq-17@gated-at.bofh.it> <qTLFg-5N3-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Arnd, 



On 1/22/16, 7:12 AM, "linux-scsi-owner@vger.kernel.org on behalf of Arnd
Bergmann" <linux-scsi-owner@vger.kernel.org on behalf of arnd@arndb.de>
wrote:

>On Friday 22 January 2016 15:28:32 Arnd Bergmann wrote:
>> struct register_host_info stores a 64-bit UTC system time timestamp.
>> This patch removes the use of 'struct timeval' to obtain that timestamp
>> as its tv_sec value will overflow on 32-bit systems in year 2038 beyond.
>> The patch uses ktime_get_real_seconds() which returns a 64-bit seconds
>>value.
>> 
>> Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
>> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>> 
>
>
>
>I was missing
>
>From: Tina Ruchandani <ruchandani.tina@gmail.com>
>
>If anyone is going to pick this up, let me know whether you will fix
>it up yourself or if I should resend.

Please resend the patch and add Acked-by: Himanshu Madhani
<himanshu.madhani@qlogic.com>

>--
>To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

Thanks,
- Himanshu

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH, RESEND 2] qla2xxx: Remove use of 'struct timeval' Arnd Bergmann <arnd@arndb.de> - 2016-01-22 15:40 +0100
  Re: [Y2038] [PATCH, RESEND 2] qla2xxx: Remove use of 'struct timeval' Arnd Bergmann <arnd@arndb.de> - 2016-01-22 16:20 +0100
    Re: [Y2038] [PATCH, RESEND 2] qla2xxx: Remove use of 'struct  timeval' Himanshu Madhani <himanshu.madhani@qlogic.com> - 2016-01-25 19:30 +0100

csiph-web