From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 DA97B21E78217 for ; Thu, 5 Oct 2017 02:04:53 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2017 02:08:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,480,1500966000"; d="scan'208";a="1202497793" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 05 Oct 2017 02:08:15 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 5 Oct 2017 02:08:15 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 5 Oct 2017 02:08:14 -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 17:08:13 +0800 From: "Yao, Jiewen" To: Laszlo Ersek CC: "Zeng, Star" , Ard Biesheuvel , "Ni, Ruiyu" , "Dong, Eric" , "edk2-devel@lists.01.org" , "leif.lindholm@linaro.org" Thread-Topic: [edk2] [PATCH] MdeModulePkg/UefiBootManagerLib: don't ASSERT on 'BootNext' varname Thread-Index: AQHTPKM+puij6KGXm0mQfD1vIoUNtqLSSAiAgACKsnCAAFz2gIAAAX8AgAAEMwCAAA/lgIABEy8AgAAH9gCAAJk+bQ== Date: Thu, 5 Oct 2017 09:08:12 +0000 Message-ID: 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> <0C09AFA07DD0434D9E2A0C6AEB0483103B97E6F4@shsmsx102.ccr.corp.intel.com>, <74e4651f-f245-51fa-ee49-4f547a9a929d@redhat.com> In-Reply-To: <74e4651f-f245-51fa-ee49-4f547a9a929d@redhat.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 09:04:54 -0000 Content-Language: zh-CN Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 VGhhbmsgeW91IHN0YXIuDQoNCkkgYWNrIHRoaXMgdXBkYXRlLg0KDQpJIHJlY2FsbCB3ZSBkaWQg YSByZXZpZXcgZm9yIGJkcyBvbiB2YXJpYWJsZSB1c2FnZSBhbmQgYXNzZXJ0IHVzYWdlIGFuZCBm aXhlZCBzdWNoIGlzc3VlLiBJZiB0aGlzIGlzIGEgcmVncmVzc2lvbiwgd2UgcHJvYmFibGUgbmVl ZCByZXZpZXcgYWdhaW4uIA0KDQp0aGFuayB5b3UhDQpZYW8sIEppZXdlbg0KDQoNCj4g1NogMjAx N8TqMTD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