Message ID | 20131008164701.GC16793@pd.tnic |
---|---|
State | Not Applicable |
Headers | show |
On Tue, 08 Oct, at 06:47:02PM, Borislav Petkov wrote: > From: Borislav Petkov <bp@suse.de> > > ... for passing miscellaneous options and chicken bits from the command > line. > > Signed-off-by: Borislav Petkov <bp@suse.de> > --- > arch/x86/platform/efi/efi.c | 9 +++++++++ > 1 file changed, 9 insertions(+) This patch should be part of PATCH 12.
On Mon, Oct 28, 2013 at 11:02:13AM +0000, Matt Fleming wrote:
> This patch should be part of PATCH 12.
I wanted it to be separate as it adds an unrelated functionality but I
don't really care all that much - I'll merge it.
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 538c1e6b7b2c..16996aba5012 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c @@ -1113,3 +1113,12 @@ efi_status_t efi_query_variable_store(u32 attributes, unsigned long size) return EFI_SUCCESS; } EXPORT_SYMBOL_GPL(efi_query_variable_store); + +static int __init parse_efi_cmdline(char *str) +{ + if (*str == '=') + str++; + + return 0; +} +early_param("efi", parse_efi_cmdline);