From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 BA42E21A143DF for ; Thu, 8 Jun 2017 18:12:05 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 08 Jun 2017 18:13:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,316,1493708400"; d="scan'208";a="866084489" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 08 Jun 2017 18:13:15 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 8 Jun 2017 18:13:14 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 8 Jun 2017 18:13:14 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.151]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.122]) with mapi id 14.03.0319.002; Fri, 9 Jun 2017 09:13:11 +0800 From: "Wu, Hao A" To: Laszlo Ersek , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" Thread-Topic: [edk2] [PATCH] MdeModulePkg/PciHostBridgeDxe: Make bitwise operands of the same size Thread-Index: AQHS4DB9UQiYF+xHj0ydt62xhnsY6aIa6GmAgADOVCA= Date: Fri, 9 Jun 2017 01:13:11 +0000 Message-ID: References: <20170608082230.13984-1-hao.a.wu@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] MdeModulePkg/PciHostBridgeDxe: Make bitwise operands of the same size 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: Fri, 09 Jun 2017 01:12:05 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMYXN6bG8gRXJzZWsgW21haWx0 bzpsZXJzZWtAcmVkaGF0LmNvbV0NCj4gU2VudDogRnJpZGF5LCBKdW5lIDA5LCAyMDE3IDQ6NDAg QU0NCj4gVG86IFd1LCBIYW8gQTsgZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmcNCj4gQ2M6IFlhbywg Smlld2VuDQo+IFN1YmplY3Q6IFJlOiBbZWRrMl0gW1BBVENIXSBNZGVNb2R1bGVQa2cvUGNpSG9z dEJyaWRnZUR4ZTogTWFrZSBiaXR3aXNlDQo+IG9wZXJhbmRzIG9mIHRoZSBzYW1lIHNpemUNCj4g DQo+IE9uIDA2LzA4LzE3IDEwOjIyLCBIYW8gV3Ugd3JvdGU6DQo+ID4gQ2M6IEppZXdlbiBZYW8g PGppZXdlbi55YW9AaW50ZWwuY29tPg0KPiA+IENvbnRyaWJ1dGVkLXVuZGVyOiBUaWFub0NvcmUg Q29udHJpYnV0aW9uIEFncmVlbWVudCAxLjANCj4gPiBTaWduZWQtb2ZmLWJ5OiBIYW8gV3UgPGhh by5hLnd1QGludGVsLmNvbT4NCj4gPiAtLS0NCj4gPiAgTWRlTW9kdWxlUGtnL0J1cy9QY2kvUGNp SG9zdEJyaWRnZUR4ZS9QY2lSb290QnJpZGdlSW8uYyB8IDIgKy0NCj4gPiAgMSBmaWxlIGNoYW5n ZWQsIDEgaW5zZXJ0aW9uKCspLCAxIGRlbGV0aW9uKC0pDQo+ID4NCj4gPiBkaWZmIC0tZ2l0IGEv TWRlTW9k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