Skip to contentSkip to conversation

EFI: suppress bogus loader warning

PATCH In review Jan Beulich 2 participants 2 messages Dec 19, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 EFI: suppress bogus loader warning

This was accidentally lost in commit fbc3d9a220 ("EFI: add efi_arch_handle_cmdline() for processing commandline"), leading to the "Unknown command line option" warning being printed whenever options get passed to the core hypervisor or the Dom0 kernel.

xen/common/efi/boot.c +1 -0
@@ -311,6 +311,7 @@ static unsigned int __init get_argv(unsi
                 ++argc;
             else if ( prev && wstrcmp(prev, L"--") == 0 )
             {
+                --argv;
                 if ( options )
                     *options = cmdline;
                 break;

EFI: suppress bogus loader warning

This was accidentally lost in commit fbc3d9a220 ("EFI: add efi_arch_handle_cmdline() for processing commandline"), leading to the "Unknown command line option" warning being printed whenever options get passed to the core hypervisor or the Dom0 kernel.

xen/common/efi/boot.c +1 -0
@@ -311,6 +311,7 @@ static unsigned int __init get_argv(unsi
                 ++argc;
             else if ( prev && wstrcmp(prev, L"--") == 0 )
             {
+                --argv;
                 if ( options )
                     *options = cmdline;
                 break;

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 6 lines · Jan Beulich

This was accidentally lost in commit fbc3d9a220 ("EFI: add efi_arch_handle_cmdline() for processing commandline"), leading to the "Unknown command line option" warning being printed whenever options get passed to the core hypervisor or the Dom0 kernel.

Quoted 34 lines
xen/common/efi/boot.c +1 -0
@@ -311,6 +311,7 @@ static unsigned int __init get_argv(unsi
                 ++argc;
             else if ( prev && wstrcmp(prev, L"--") == 0 )
             {
+                --argv;
                 if ( options )
                     *options = cmdline;
                 break;

EFI: suppress bogus loader warning

This was accidentally lost in commit fbc3d9a220 ("EFI: add efi_arch_handle_cmdline() for processing commandline"), leading to the "Unknown command line option" warning being printed whenever options get passed to the core hypervisor or the Dom0 kernel.

xen/common/efi/boot.c +1 -0
@@ -311,6 +311,7 @@ static unsigned int __init get_argv(unsi
                 ++argc;
             else if ( prev && wstrcmp(prev, L"--") == 0 )
             {
+                --argv;
                 if ( options )
                     *options = cmdline;
                 break;