[PATCH 2/2] arm64: efi: fix initcall return values

Matt Fleming matt at codeblueprint.co.uk
Thu Nov 26 02:33:49 PST 2015


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 at linaro.org>
> ---
>  arch/arm64/kernel/efi.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

FWIW, 

Reviewed-by: Matt Fleming <matt at codeblueprint.co.uk>



More information about the linux-arm-kernel mailing list