From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web10.32027.1578880428186361872 for ; Sun, 12 Jan 2020 17:53:48 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: siyuan.fu@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jan 2020 17:53:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,427,1571727600"; d="scan'208";a="304713899" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 12 Jan 2020 17:53:47 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 12 Jan 2020 17:53:45 -0800 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 12 Jan 2020 17:53:44 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.245]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.89]) with mapi id 14.03.0439.000; Mon, 13 Jan 2020 09:53:42 +0800 From: "Siyuan, Fu" To: "devel@edk2.groups.io" , "lersek@redhat.com" CC: "Wu, Hao A" , "Wang, Jian J" , "Ni, Ray" , "Gao, Zhichao" Subject: Re: [edk2-devel] [PATCH 1/2] MdeModulePkg/UefiBootManagerLib: log reserved mem allocation failure Thread-Topic: [edk2-devel] [PATCH 1/2] MdeModulePkg/UefiBootManagerLib: log reserved mem allocation failure Thread-Index: AQHVxn1ty7tLiql/4UCt6mQ5/Rbt+afn24HA Date: Mon, 13 Jan 2020 01:53:42 +0000 Message-ID: References: <20200108234313.28510-1-lersek@redhat.com> <20200108234313.28510-2-lersek@redhat.com> In-Reply-To: <20200108234313.28510-2-lersek@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGYyNjc2ZWMtNzVkMy00NTI4LWFiYmQtNDJmYTZiMjMzMDg3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicWI0MkNqZmRtV1hIcnBoY0dwTVI0XC9kNjJTNzVBZFdEMWE3MERBSzJLR1lUM2tEcEtTcWl6aWdXUDE3K1V2bEEifQ== dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: siyuan.fu@intel.com Content-Language: en-US Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 VGhlIGNoYW5nZSBsb29rcyBnb29kIHRvIG1lLg0KDQpSZXZpZXdlZC1ieTogU2l5dWFuIEZ1IDxz aXl1YW4uZnVAaW50ZWwuY29tPg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZy b206IGRldmVsQGVkazIuZ3JvdXBzLmlvIDxkZXZlbEBlZGsyLmdyb3Vwcy5pbz4gT24gQmVoYWxm IE9mIExhc3psbw0KPiBFcnNlaw0KPiBTZW50OiAyMDIwxOox1MI5yNUgNzo0Mw0KPiBUbzogZWRr Mi1kZXZlbC1ncm91cHMtaW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