From: matt@codeblueprint.co.uk (Matt Fleming)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] arm64/efi: deal with NULL return value of early_memremap()
Date: Thu, 26 Nov 2015 10:29:54 +0000 [thread overview]
Message-ID: <20151126102954.GF2765@codeblueprint.co.uk> (raw)
In-Reply-To: <1448264604-19411-2-git-send-email-ard.biesheuvel@linaro.org>
On Mon, 23 Nov, at 08:43:23AM, Ard Biesheuvel wrote:
> Add NULL return value checks to two invocations of early_memremap()
> in the UEFI init code. For the UEFI configuration tables, we just
> warn since we have a better chance of being able to report the issue
> in a way that can actually be noticed by a human operator if we don't
> abort right away. For the UEFI memory map, however, all we can do is
> panic() since we cannot proceed without a description of memory.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
> arch/arm64/kernel/efi.c | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
next prev parent reply other threads:[~2015-11-26 10:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-23 7:43 [PATCH 0/2] arm64 efi fixes Ard Biesheuvel
2015-11-23 7:43 ` [PATCH 1/2] arm64/efi: deal with NULL return value of early_memremap() Ard Biesheuvel
2015-11-26 10:29 ` Matt Fleming [this message]
2015-11-23 7:43 ` [PATCH 2/2] arm64: efi: fix initcall return values Ard Biesheuvel
2015-11-26 10:33 ` Matt Fleming
2015-11-23 17:35 ` [PATCH 0/2] arm64 efi fixes Will Deacon
2015-11-23 17:44 ` Ard Biesheuvel
2015-11-26 18:16 ` Catalin Marinas
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=20151126102954.GF2765@codeblueprint.co.uk \
--to=matt@codeblueprint.co.uk \
--cc=linux-arm-kernel@lists.infradead.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.