From: Matt Fleming <matt@codeblueprint.co.uk>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-efi@vger.kernel.org,
Ard Biesheuvel <ard.biesheuvel@linaro.org>,
y2038@lists.linaro.org, x86@kernel.org,
linux-kernel@vger.kernel.org, Ingo Molnar <mingo@redhat.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] x86: fix unused efi_get_time function
Date: Thu, 23 Jun 2016 14:32:05 +0100 [thread overview]
Message-ID: <20160623133205.GH8415@codeblueprint.co.uk> (raw)
In-Reply-To: <20160617145152.3569706-1-arnd@arndb.de>
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!
_______________________________________________
Y2038 mailing list
Y2038@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/y2038
WARNING: multiple messages have this Message-ID (diff)
From: Matt Fleming <matt@codeblueprint.co.uk>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, y2038@lists.linaro.org,
Ard Biesheuvel <ard.biesheuvel@linaro.org>,
linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: fix unused efi_get_time function
Date: Thu, 23 Jun 2016 14:32:05 +0100 [thread overview]
Message-ID: <20160623133205.GH8415@codeblueprint.co.uk> (raw)
In-Reply-To: <20160617145152.3569706-1-arnd@arndb.de>
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!
next prev parent reply other threads:[~2016-06-23 13:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 14:51 [PATCH] x86: fix unused efi_get_time function Arnd Bergmann
2016-06-17 14:51 ` Arnd Bergmann
2016-06-23 13:32 ` Matt Fleming [this message]
2016-06-23 13:32 ` Matt Fleming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160623133205.GH8415@codeblueprint.co.uk \
--to=matt@codeblueprint.co.uk \
--cc=ard.biesheuvel@linaro.org \
--cc=arnd@arndb.de \
--cc=hpa@zytor.com \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=y2038@lists.linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.