All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] EFI: suppress bogus loader warning
@ 2014-12-19 11:17 Jan Beulich
  2014-12-19 19:08 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2014-12-19 11:17 UTC (permalink / raw)
  To: xen-devel; +Cc: roy.franz

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

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@suse.com>

--- 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;




[-- Attachment #2: EFI-skip-double-dash.patch --]
[-- Type: text/plain, Size: 695 bytes --]

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@suse.com>

--- 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;

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] EFI: suppress bogus loader warning
  2014-12-19 11:17 [PATCH] EFI: suppress bogus loader warning Jan Beulich
@ 2014-12-19 19:08 ` Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 2+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-12-19 19:08 UTC (permalink / raw)
  To: Jan Beulich; +Cc: roy.franz, xen-devel

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@suse.com>

Release-Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> 
> --- 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@suse.com>
> 
> --- 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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-19 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19 11:17 [PATCH] EFI: suppress bogus loader warning Jan Beulich
2014-12-19 19:08 ` Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.