[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] EFI: suppress bogus loader warning



On Fri, Dec 19, 2014 at 11:17:02AM +0000, Jan Beulich wrote:
> 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.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Release-Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> 
> --- a/xen/common/efi/boot.c
> +++ b/xen/common/efi/boot.c
> @@ -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.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> --- a/xen/common/efi/boot.c
> +++ b/xen/common/efi/boot.c
> @@ -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
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.