Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1429835
| From | Matt Fleming <matt@codeblueprint.co.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] x86: fix unused efi_get_time function |
| Date | 2016-06-23 15:40 +0200 |
| Message-ID | <rNd1n-2aV-13@gated-at.bofh.it> (permalink) |
| References | <rL3pw-7Q6-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 17 Jun, at 04:51:29PM, Arnd Bergmann wrote: > Nothing calls the efi_get_time function on x86, but it does suffer > from the 32-bit time_t overflow in 2038. > > To avoid that if anyone starts calling it, this changes the function > to use timespec64 and mktime64 instead. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > --- > The obvious alternative would be to remove the function, I'll send > that patch as well, so you can pick one or the other. > > arch/x86/platform/efi/efi.c | 6 +++--- > include/linux/efi.h | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) Looks good, thanks Arnd!
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] x86: fix unused efi_get_time function Arnd Bergmann <arnd@arndb.de> - 2016-06-17 17:00 +0200 Re: [PATCH] x86: fix unused efi_get_time function Matt Fleming <matt@codeblueprint.co.uk> - 2016-06-23 15:40 +0200
csiph-web