From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: liming.gao@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by groups.io with SMTP; Fri, 26 Apr 2019 00:32:12 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Apr 2019 00:32:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,396,1549958400"; d="scan'208";a="340979767" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 26 Apr 2019 00:32:11 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 26 Apr 2019 00:32:09 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 26 Apr 2019 00:32:10 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.92]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.147]) with mapi id 14.03.0415.000; Fri, 26 Apr 2019 15:32:08 +0800 From: "Liming Gao" To: "Wu, Hao A" , Ard Biesheuvel , "Kinney, Michael D" , "Wang, Jian J" CC: edk2-devel-groups-io Subject: Re: [PATCH v2] MdeModulePkg/DxeCore: Please static checker for false report Thread-Topic: [PATCH v2] MdeModulePkg/DxeCore: Please static checker for false report Thread-Index: AQHU+ltrkjN3qfIUIUi122jD02sFD6ZKXd6AgAML+4CAAKWwAA== Date: Fri, 26 Apr 2019 07:32:07 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4311A0@SHSMSX104.ccr.corp.intel.com> References: <20190424050549.6760-1-hao.a.wu@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGFvOg0KICAgVGhlIGNoYW5nZSBpcyBnb29kIHRvIG1lLiBSZXZpZXdlZC1ieTogTGltaW5nIEdh byA8bGltaW5nLmdhb0BpbnRlbC5jb20+DQoNCj4tLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0K PkZyb206IFd1LCBIYW8gQQ0KPlNlbnQ6IEZyaWRheSwgQXByaWwgMjYsIDIwMTkgMTozOSBQTQ0K PlRvOiBBcmQgQmllc2hldXZlbCA8YXJkLmJpZXNoZXV2ZWxAbGluYXJvLm9yZz47IEtpbm5leSwg TWljaGFlbCBEDQo+PG1pY2hhZWwuZC5raW5uZXlAaW50ZWwuY29tPjsgR2FvLCBMaW1pbmcgPGxp bWluZy5nYW9AaW50ZWwuY29tPjsgV2FuZywNCj5KaWFuIEogPGppYW4uai53YW5nQGludGVsLmNv bT4NCj5DYzogZWRrMi1kZXZlbC1ncm91cHMtaW8gPGRldmVsQGVkazIuZ3JvdXBzLmlvPg0KPlN1 YmplY3Q6IFJFOiBbUEFUQ0ggdjJdIE1kZU1vZHVsZVBrZy9EeGVDb3JlOiBQbGVhc2Ugc3RhdGlj IGNoZWNrZXIgZm9yDQo+ZmFsc2UgcmVwb3J0DQo+DQo+PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2Ut LS0tLQ0KPj4gRnJvbTogQXJkIEJpZXNoZXV2ZWwgW21haWx0bzphcmQuYmllc2hldXZlbEBsaW5h cm8ub3JnXQ0KPj4gU2VudDogV2VkbmVzZGF5LCBBcHJpbCAyNCwgMjAxOSAzOjA3IFBNDQo+PiBU bzogV3UsIEhhbyBBDQo+PiBDYzogZWRrMi1kZXZlbC1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