From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 03CFF2082; Wed, 7 Nov 2018 03:42:28 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2018 18:42:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,474,1534834800"; d="scan'208";a="104056388" Received: from kmsmsx155.gar.corp.intel.com ([172.21.73.106]) by fmsmga004.fm.intel.com with ESMTP; 06 Nov 2018 18:42:26 -0800 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.114]) by KMSMSX155.gar.corp.intel.com ([169.254.15.19]) with mapi id 14.03.0415.000; Wed, 7 Nov 2018 10:42:26 +0800 From: "Zhao1, Wei" To: "Yigit, Ferruh" , "Wu, Jingjing" , "Lu, Wenzhuo" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/avf/base: fix shifting 32 bits signed variable 31 times Thread-Index: AQHUdRQnftpR79dXeUO6SUC10reE+aVDnNIg Date: Wed, 7 Nov 2018 02:42:25 +0000 Message-ID: References: <20181028035133.67106-1-ferruh.yigit@intel.com> <07fea5ad-c01f-763a-c4b7-0f4948fb421c@intel.com> In-Reply-To: <07fea5ad-c01f-763a-c4b7-0f4948fb421c@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [172.30.20.205] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/avf/base: fix shifting 32 bits signed variable 31 times X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2018 02:42:29 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWWlnaXQsIEZlcnJ1aA0K PiBTZW50OiBNb25kYXksIE5vdmVtYmVyIDUsIDIwMTggMTA6MzEgUE0NCj4gVG86IFpoYW8xLCBX ZWkgPHdlaS56aGFvMUBpbnRlbC5jb20+OyBXdSwgSmluZ2ppbmcNCj4gPGppbmdqaW5nLnd1QGlu dGVsLmNvbT47IEx1LCBXZW56aHVvIDx3ZW56aHVvLmx1QGludGVsLmNvbT4NCj4gQ2M6IGRldkBk cGRrLm9yZzsgc3RhYmxlQGRwZGsub3JnDQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRD SF0gbmV0L2F2Zi9iYXNlOiBmaXggc2hpZnRpbmcgMzIgYml0cyBzaWduZWQNCj4gdmFyaWFibGUg MzEgdGltZXMNCj4gDQo+IE9uIDEwLzMxLzIwMTggMzozNCBBTSwgWmhhbzEsIFdlaSB3cm90ZToN Cj4gPg0KPiA+DQo+ID4+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+ID4+IEZyb206IGRl diBbbWFpbHRvOmRldi1ib3VuY2VzQGRwZGsub3JnXSBPbiBCZWhhbGYgT2YgRmVycnVoIFlpZ2l0 DQo+ID4+IFNlbnQ6IFN1bmRheSwgT2N0b2JlciAyOCwgMjAxOCAxMTo1MiBBTQ0KPiA+PiBUbzog V3UsIEppbmdqaW5nIDxqaW5namluZy53dUBpbnRlbC5jb20+OyBMdSwgV2Vuemh1bw0KPiA+PiA8 d2Vuemh1by5sdUBpbnRlbC5jb20+DQo+ID4+IENjOiBkZXZAZHBkay5vcmc7IFlpZ2l0LCBGZXJy dWggPGZlcnJ1aC55aWdpdEBpbnRlbC5jb20+Ow0KPiA+PiBzdGFibGVAZHBk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