From: "Jan Beulich" Subject: [PATCH] EFI: suppress bogus loader warning Date: Fri, 19 Dec 2014 11:17:02 +0000 Message-ID: <5494173E0200007800050F59@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part9FAA523E.1__=" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Y1vYQ-0003T8-4l for xen-devel@lists.xenproject.org; Fri, 19 Dec 2014 11:17:06 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: roy.franz@linaro.org List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part9FAA523E.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 --- 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"--") =3D=3D 0 ) { + --argv; if ( options ) *options =3D cmdline; break; --=__Part9FAA523E.1__= Content-Type: text/plain; name="EFI-skip-double-dash.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="EFI-skip-double-dash.patch" EFI: suppress bogus loader warning=0A=0AThis was accidentally lost in = commit fbc3d9a220 ("EFI: add=0Aefi_arch_handle_cmdline() for processing = commandline"), leading to the=0A"Unknown command line option" warning = being printed whenever options=0Aget passed to the core hypervisor or the = Dom0 kernel.=0A=0ASigned-off-by: Jan Beulich =0A=0A--- = a/xen/common/efi/boot.c=0A+++ b/xen/common/efi/boot.c=0A@@ -311,6 +311,7 = @@ static unsigned int __init get_argv(unsi=0A ++argc;=0A = else if ( prev && wstrcmp(prev, L"--") =3D=3D 0 )=0A = {=0A+ --argv;=0A if ( options )=0A = *options =3D cmdline;=0A break;=0A --=__Part9FAA523E.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__Part9FAA523E.1__=--