From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AFD1CA10DA for ; Fri, 2 Aug 2019 22:03:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A5A941C2A1; Fri, 2 Aug 2019 22:03:04 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 60E8F1C29F for ; Fri, 2 Aug 2019 22:03:03 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AF98721B7C; Fri, 2 Aug 2019 16:03:01 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 02 Aug 2019 16:03:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=WuVV5nel7Mh7s/hZlSfqwZFhEoWRnNxD5imHopLKaKU=; b=Mdz3X8BuYmlW yXOmjkF1KmXjvrF2Di/ghUAo3NRH4s4ShaKGsvH53ak1cWNI3sTgqrzSJ6vVN5X5 h6SMHcxfkdP7ZfXBXzPzG/tAPhWj/uN6qYvSdsoi/M8qv4T5vi4Dwza0LCDNaoUo 1fyCES0zKlYZIME9qg/COlDphzNruIg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=WuVV5nel7Mh7s/hZlSfqwZFhEoWRnNxD5imHopLKa KU=; b=wvOCxYCJJ70yFyllCHAvd8ppfC4Lk1/flWIn3059ElcnV4cxw+zh/26ap dbHu7Um0yn/fwBpiPuMUQiYv3Z6zL3jadibPyj2DBb08XWLakRty6NDKfy5b/wZp mznM+g3t3ptDyEy2uVvjqpNTvw23vOAIWgF5leMzK6Gbq3SVJftfNZ5EKDTmZcDg T3pkzVDEWGo2c4WTscG111YDUBGZgh5pgPfFMwkf5C5gB2Qw0P0M5G/fArAi0mNN hnBgPE5WuZiEEVq1jXC+oXdldRnWZaCfq/OTnjgkg9fPJizGkFQ0Kocuocqc3g9r AQa+ypRpwPCowa64aNANgjJO1hNmA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleelgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9126F380083; Fri, 2 Aug 2019 16:03:00 -0400 (EDT) From: Thomas Monjalon To: Aaron Conole Cc: dev@dpdk.org, "Ananyev, Konstantin" , "De Lara Guarch, Pablo" Date: Fri, 02 Aug 2019 22:02:59 +0200 Message-ID: <3527395.qQVFXp17zI@xps> In-Reply-To: <2601191342CEEE43887BDE71AB9772580168A60A7E@irsmsx105.ger.corp.intel.com> References: <20190730213920.17225-1-aconole@redhat.com> <20190731154311.8918-1-aconole@redhat.com> <2601191342CEEE43887BDE71AB9772580168A60A7E@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] librte_acl: fix undefined behavior 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 01/08/2019 10:14, Ananyev, Konstantin: > > > > Left-shift of an integer constant is represented as 'int' type, but a left > > shift of 1 by 31 bits in 'int' is undefined. Use the U suffix to force > > a representation as unsigned. > > > > Caught while running with ubsan under gcc. > > > > Fixes: dc276b5780c2 ("acl: new library") > > Cc: Konstantin Ananyev > > Signed-off-by: Aaron Conole > > Acked-by: Konstantin Ananyev Applied, thanks