Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1315070
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Y2038] [PATCH, RESEND 2] qla2xxx: Remove use of 'struct timeval' |
| Date | 2016-01-22 16:20 +0100 |
| Message-ID | <qTLFg-5N3-23@gated-at.bofh.it> (permalink) |
| References | <qTL2y-5iq-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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