From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 316B4377E for ; Thu, 10 Mar 2016 15:28:06 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 10 Mar 2016 06:27:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,316,1455004800"; d="scan'208";a="907026334" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga001.jf.intel.com with ESMTP; 10 Mar 2016 06:27:44 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.13]) by IRSMSX153.ger.corp.intel.com ([169.254.9.60]) with mapi id 14.03.0248.002; Thu, 10 Mar 2016 14:27:42 +0000 From: "Dumitrescu, Cristian" To: Panu Matilainen , "dev@dpdk.org" Thread-Topic: [PATCH] pipeline: use unsigned constants for left shift operations Thread-Index: AQHRetPB0Opv/zDcikiR4bv8kegYrZ9Su/LQ Date: Thu, 10 Mar 2016 14:27:41 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D891264796AD11@IRSMSX108.ger.corp.intel.com> References: <596c08913453daea0e9c98f25befba923a961216.1457617795.git.pmatilai@redhat.com> In-Reply-To: <596c08913453daea0e9c98f25befba923a961216.1457617795.git.pmatilai@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWU4MGVjODAtZTA2Zi00NzM1LTk2MjEtNTczNzI1ZGEwNzI4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkUrbVNNSXRTRlpXWHYzd2d5ak0rbloxRU1Ua3NFamxNeTJnczlcL1ZkVTdjPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] pipeline: use unsigned constants for left shift operations X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2016 14:28:06 -0000 > -----Original Message----- > From: Panu Matilainen [mailto:pmatilai@redhat.com] > Sent: Thursday, March 10, 2016 1:50 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian > Subject: [PATCH] pipeline: use unsigned constants for left shift operatio= ns >=20 > Tell the compiler to use unsigned constants for left shift ops, > otherwise building with gcc >=3D 6.0 fails due to multiple warnings like: > warning: left shift of negative value [-Wshift-negative-value] >=20 > Signed-off-by: Panu Matilainen > --- Acked-by: Cristian Dumitrescu