From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 172731DA4 for ; Tue, 22 May 2018 04:01:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 May 2018 19:01:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,428,1520924400"; d="scan'208";a="43689310" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga006.jf.intel.com with ESMTP; 21 May 2018 19:01:56 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 21 May 2018 19:01:55 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 21 May 2018 19:01:55 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.210]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.40]) with mapi id 14.03.0319.002; Tue, 22 May 2018 10:01:53 +0800 From: "Zhang, Helin" To: "Yigit, Ferruh" , "Xing, Beilei" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "Yigit, Ferruh" Thread-Topic: [dpdk-dev] [PATCH] net/i40e: fix shifts of signed values Thread-Index: AQHT8RKLKgdkTExQr02yUSSXeZt2DqQ6/2fQ Date: Tue, 22 May 2018 02:01:52 +0000 Message-ID: References: <20180521144559.64655-1-ferruh.yigit@intel.com> In-Reply-To: <20180521144559.64655-1-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix shifts of signed values 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: Tue, 22 May 2018 02:01:58 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Monday, May 21, 2018 10:46 PM > To: Xing, Beilei; Zhang, Qi Z > Cc: dev@dpdk.org; Yigit, Ferruh > Subject: [dpdk-dev] [PATCH] net/i40e: fix shifts of signed values >=20 > Fix following error reported by cppcheck: > (error) Shifting signed 32-bit value by 31 bits is undefined behaviour >=20 > Signed-off-by: Ferruh Yigit Applied to dpdk-next-net-intel, thanks!