[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131126145155.GL11521@console-pimps.org>
Date: Tue, 26 Nov 2013 14:51:55 +0000
From: Matt Fleming <matt@...sole-pimps.org>
To: Dave Young <dyoung@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-efi@...r.kernel.org,
x86@...nel.org, mjg59@...f.ucam.org, hpa@...or.com,
James.Bottomley@...senPartnership.com, vgoyal@...hat.com,
ebiederm@...ssion.com, horms@...ge.net.au,
kexec@...ts.infradead.org, bp@...en8.de, greg@...ah.com,
toshi.kani@...com
Subject: Re: [PATCH v4 04/12] efi: cleanup efi_enter_virtual_mode function
On Tue, 26 Nov, at 01:57:49PM, Dave Young wrote:
> Add two small functions:
> efi_merge_regions and efi_map_regions, efi_enter_virtual_mode
> calls them instead of embedding two long for loop.
>
> v1->v2:
> refresh; coding style fixes.
>
> v2->v3:
> Toshi Kani:
> remove unused variable
> Matt: check return value of krealloc.
> v3->v4:
> Boris: Stretch comment to 80 cols
>
> Signed-off-by: Dave Young <dyoung@...hat.com>
> Acked-by: Borislav Petkov <bp@...e.de>
> ---
> arch/x86/platform/efi/efi.c | 109 +++++++++++++++++++++++++++-----------------
> 1 file changed, 66 insertions(+), 43 deletions(-)
[...]
> @@ -922,9 +948,6 @@ void __init efi_enter_virtual_mode(void)
> 0, NULL);
>
> return;
> -
> - err_out:
> - pr_err("Error reallocating memory, EFI runtime non-functional!\n");
> }
>
> /*
Teeny, tiny comment: You could now delete the above return statement.
--
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists