From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.88; helo=mga01.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9DD1021CF58C1 for ; Thu, 5 Oct 2017 00:27:55 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2017 00:31:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,480,1500966000"; d="scan'208";a="159102352" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga005.fm.intel.com with ESMTP; 05 Oct 2017 00:31:17 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 5 Oct 2017 00:31:16 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 5 Oct 2017 00:31:16 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Thu, 5 Oct 2017 15:31:14 +0800 From: "Zeng, Star" To: Laszlo Ersek , Ard Biesheuvel CC: "Ni, Ruiyu" , "Dong, Eric" , "edk2-devel@lists.01.org" , "leif.lindholm@linaro.org" , "Yao, Jiewen" , "Zeng, Star" Thread-Topic: [edk2] [PATCH] MdeModulePkg/UefiBootManagerLib: don't ASSERT on 'BootNext' varname Thread-Index: AQHTPGuLwZCwDLQGMUS+/OYgpm51o6LSy5/w//982YCAAAUPAIABXsYg//+FUQCAAIifEP//i3mAADEWHGA= Date: Thu, 5 Oct 2017 07:31:14 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B97E6F4@shsmsx102.ccr.corp.intel.com> References: <20171003171727.5641-1-ard.biesheuvel@linaro.org> <0C09AFA07DD0434D9E2A0C6AEB0483103B97E276@shsmsx102.ccr.corp.intel.com> <74D8A39837DF1E4DA445A8C0B3885C503A9CE19A@shsmsx102.ccr.corp.intel.com> <0C09AFA07DD0434D9E2A0C6AEB0483103B97E44C@shsmsx102.ccr.corp.intel.com> <0C09AFA07DD0434D9E2A0C6AEB0483103B97E486@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] MdeModulePkg/UefiBootManagerLib: don't ASSERT on 'BootNext' varname X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 07:27:55 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SSBnb3QgeW91ciBwb2ludC4NCkZyb20gbGl0ZXJhbCBtZWFuaW5nIG9mIHRoZSBBUEksIEkgYWdy ZWUgdGhlIEFTU0VSVCBzaG91bGQgYmUgcmVtb3ZlZC4NCklmIHRoZSBpbnB1dCBwYXJhbWV0ZXIg aXMgYXNzdW1lZCB0byBiZSB2YWxpZCBhbHdheXMsIHRoZSBBUEkgY291bGQgYmUgbm90IGNhbGxl ZCBhdCBhbGwuDQpJZiB0aGUgaW5wdXQgcGFyYW1ldGVyIGlzIG5vdCBhc3N1bWVkIHRvIGJlIHZh bGlkIGFsd2F5cywgdGhlIEFQ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