From: matt@codeblueprint.co.uk (Matt Fleming)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] arm64: efi: fix initcall return values
Date: Thu, 26 Nov 2015 10:33:49 +0000 [thread overview]
Message-ID: <20151126103349.GG2765@codeblueprint.co.uk> (raw)
In-Reply-To: <1448264604-19411-3-git-send-email-ard.biesheuvel@linaro.org>
On Mon, 23 Nov, at 08:43:24AM, Ard Biesheuvel wrote:
> Even though initcall return values are typically ignored, the
> prototype is to return 0 on success or a negative errno value on
> error. So fix the arm_enable_runtime_services() implementation to
> return 0 on conditions that are not in fact errors, and return a
> meaningful error code otherwise.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
> arch/arm64/kernel/efi.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
FWIW,
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
next prev parent reply other threads:[~2015-11-26 10:33 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
2015-11-23 7:43 ` [PATCH 2/2] arm64: efi: fix initcall return values Ard Biesheuvel
2015-11-26 10:33 ` Matt Fleming [this message]
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=20151126103349.GG2765@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.