From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 4B3381A1E10 for ; Tue, 18 Oct 2016 03:22:38 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP; 18 Oct 2016 03:22:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,361,1473145200"; d="scan'208";a="774003554" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 18 Oct 2016 03:22:38 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 18 Oct 2016 03:22:37 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.139]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.104]) with mapi id 14.03.0248.002; Tue, 18 Oct 2016 18:22:35 +0800 From: "Zhu, Yonghong" To: "Justen, Jordan L" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , "Zhu, Yonghong" Thread-Topic: [Patch 3/3] BaseTools: Update PatchCheck to report error for EFI_D_* Thread-Index: AQHSKJe09szAq+JlZkWewm0b45KlCqCtcjxg///MNACAAMIKMA== Date: Tue, 18 Oct 2016 10:22:34 +0000 Message-ID: References: <1476692918-10716-1-git-send-email-yonghong.zhu@intel.com> <1476692918-10716-4-git-send-email-yonghong.zhu@intel.com> <147672349716.943.1214729718045230847@jljusten-ivb> <147677298023.7243.16625650400194512644@jljusten-ivb> In-Reply-To: <147677298023.7243.16625650400194512644@jljusten-ivb> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch 3/3] BaseTools: Update PatchCheck to report error for EFI_D_* X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 10:22:38 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhhbmtzIEpvcmRhbiwgSSBzZW50IGEgVjIuIEkgdXBkYXRlIGEgbGl0dGxlIG9uIHRoZSByZS5j b21waWxlIHRvIGNvdmVyIHRoZSBjYXNlIHRoYXQgRUZJX0RfKiBpbiB0aGUgbWlkZGxlIG9mIHRo ZSBERUJVRyBzdHJpbmcsIGFuZCBtYXkgaGF2ZSBtdWx0aXBsZSBzcGFjZSBiZXR3ZWVuIERFQlVH IGFuZCAoIGNoYXJhY3Rlci4NCg0KQmVzdCBSZWdhcmRzLA0KWmh1IFlvbmdob25nDQoNCg0KLS0t LS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEp1c3RlbiwgSm9yZGFuIEwgDQpTZW50OiBU dWVzZGF5LCBPY3RvYmVyIDE4LCAyMDE2IDI6NDMgUE0NClRvOiBaaHUsIFlvbmdob25nIDx5b25n aG9uZy56aHVAaW50ZWwuY29tPjsgZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmcNCkNjOiBHYW8sIExp bWluZyA8bGltaW5nLmdhb0BpbnRlbC5jb20+OyBaaHUsIFlvbmdob25nIDx5b25naG9uZy56aHVA aW50ZWwuY29tPg0KU3ViamVjdDogUkU6IFtQYXRjaCAzLzNdIEJhc2VUb29sczogVXBkYXRlIFBh dGNoQ2hlY2sgdG8gcmVwb3J0IGVycm9yIGZvciBFRklfRF8qDQoNCk9uIDIwMTYtMTAtMTcgMTk6 MDI6NTcsIFpodSwgWW9uZ2hvbmcgd3JvdGU6DQo+IEhpIEpvcmRhbiwNCj4gDQo+IFdlIHJlcXVl c3QgdG8gcmVwb3J0IGVycm9yI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o+ID4gLS0tIGEvQmFzZVRvb2xz L1NjcmlwdHMvUGF0Y2hDaGVjay5weQ0KPiA+ICsrKyBiL0Jhc2VUb29scy9TY3JpcHRzL1BhdGNo Q2hlY2sucHkNCj4gPiBAQCAtMzM3LDEwICszMzcsMTUgQEAgY2xhc3MgR2l0RGlmZkNoZWNrOg0K PiA+ICAgICAgICAgIGlmIHNlbGYuaHVua19maWxlbmFtZSBpcyBub3QgTm9uZToNCj4gPiAgICAg ICAgICAgICAgbGluZXMuYXBwZW5kKCdGaWxlOiAnICsgc2VsZi5odW5rX2ZpbGVuYW1lKQ0KPiA+ ICAgICAgICAgIGxpbmVzLmFwcGVuZCgnTGluZTogJyArIGxpbmUpDQo+ID4gIA0KPiA+ICAgICAg ICAgIHNlbGYuZXJyb3IoKmxpbmVzKQ0KPiA+ICsNCj4gPiArICAgIERFQlVHX21hY3JvX3JlID0g cmUuY29tcGlsZShyJycnXg0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICBccypERUJVR1xzKlwoXCgNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAn JycsDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmUuVkVSQk9TRSkNCj4g PiAgDQo+ID4gICAgICBkZWYgY2hlY2tfYWRkZWRfbGluZShzZWxmLCBsaW5lKToNCj4gPiAgICAg ICAgICBlb2wgPSAnJw0KPiA+ICAgICAgICAgIGZvciBhbl9lb2wgaW4gc2VsZi5saW5lX2VuZGlu Z3M6DQo+ID4gICAgICAgICAgICAgIGlmIGxpbmUuZW5kc3dpdGgoYW5fZW9sKToNCj4gPiBAQCAt MzU0LDEwICszNTksMTMgQEAgY2xhc3MgR2l0RGlmZkNoZWNrOg0KPiA+ICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgbGluZSkNCj4gPiAgICAgICAgICBpZiAnICAgICcgaW4gbGlu ZToNCj4gPiAgICAgICAgICAgICAgc2VsZi5hZGRlZF9saW5lX2Vycm9yKCdUYWIgY2hhcmFjdGVy IHVzZWQnLCBsaW5lKQ0KPiA+ICAgICAgICAgIGlmIGxlbihzdHJpcHBlZCkgPCBsZW4obGluZSk6 DQo+ID4gICAgICAgICAgICAgIHNlbGYuYWRkZWRfbGluZV9lcnJvcignVHJhaWxpbmcgd2hpdGVz cGFjZSBmb3VuZCcsIA0KPiA+IGxpbmUpDQo+ID4gKyAgICAgICAgaWYgc2VsZi5ERUJVR19tYWNy b19yZS5tYXRjaChsaW5lKToNCj4gPiArICAgICAgICAgICAgaWYgJ0VGSV9EXycgaW4gbGluZToN Cj4gPiArICAgICAgICAgICAgICAgIHNlbGYuYWRkZWRfbGluZV9lcnJvcignRUZJX0RfKiBmb3Jt YXQgaXMgdXNlZCwgDQo+ID4gKyByZWNvbW1lbmQgdG8gdXNlIERFQlVHXyogZm9ybWF0JywgbGlu ZSkNCj4gPiAgDQo+ID4gICAgICBzcGxpdF9kaWZmX3JlID0gcmUuY29tcGlsZShyJycnDQo+ID4g ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKD9QPGNtZD4NCj4gPiAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXiBkaWZmIFxzKyAtLWdpdCBccysgYS8u KyBccysgYi8uKyAkDQo+ID4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKQ0K PiA+IC0tDQo+ID4gMi42LjEud2luZG93cy4xDQo+ID4gDQo=