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 EBDF61E34 for ; Tue, 22 May 2018 03:14:17 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 May 2018 18:14:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,428,1520924400"; d="scan'208";a="57287210" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 21 May 2018 18:14:16 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 21 May 2018 18:14:16 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 21 May 2018 18:14:16 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.210]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.179]) with mapi id 14.03.0319.002; Tue, 22 May 2018 09:14:14 +0800 From: "Zhang, Qi Z" To: "Yigit, Ferruh" , "Xing, Beilei" CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/i40e: fix shifts of signed values Thread-Index: AQHT8RKLLelwKWT0906x4pLVrzx7qKQ68YSg Date: Tue, 22 May 2018 01:14:14 +0000 Message-ID: <039ED4275CED7440929022BC67E70611531B6B88@SHSMSX103.ccr.corp.intel.com> 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-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzA4MjhjZGItYWRkYS00YTY3LWFiYTEtOGRiNGJjMjhkOWFjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieGdSQzJJV2dySmVmVDMzNWF0TmFqdExRYUM0NnNrNGhId09XUXBrUmFYaGJreWttUVN3ZXRWUTVscVlFNk94USJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action 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 01:14:18 -0000 > -----Original Message----- > From: Yigit, Ferruh > Sent: Monday, May 21, 2018 10:46 PM > To: Xing, Beilei ; Zhang, Qi Z > Cc: dev@dpdk.org; Yigit, Ferruh > Subject: [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 Acked-by: Qi Zhang