From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id DEA1A4B4B for ; Sat, 20 Jan 2018 17:28:57 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 18C4A2082A; Sat, 20 Jan 2018 11:28:57 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 20 Jan 2018 11:28:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=t+9ZAWS911E4A5GOUml2ZV4xP2 2PfimsHu/Z0wWaQn0=; b=f52gGkeht9z4JreM8EsvNLQpKXFxqW7ETlbdUnOXpi cSLenrkL8LbgmIaQhXgQxQK//BcjuoncEPSY7k9ZSN3wtO8GcNHI0GX0zzh34nej bReZg+GHgHnFznJSBJBEtfYuECZMSk2/G/OcWFf//t69MSIIvEY4N9dUFJw+ie9v I= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=t+9ZAW S911E4A5GOUml2ZV4xP22PfimsHu/Z0wWaQn0=; b=iPnnZaP3x/37hZjFOxyGTn sR1tsa32sgPz6pHxndVCdrvDK9/T4PlbORxkc5EZp0vuWUzBTMAbvWF8RpTtYAQJ +69FF4uP8F5KopBPtCNeHeiOSjQ4rRwPrDuKK7R7A3aEzuQb5/tR1hRBfbQGQMNv ngkCIOx1Y5UcklKUHAl6wA/B0DhVuHR1+FfOLeCCfgduNIuCGUfmXj4xcWgQf0tq IzFtZeDFGkydOc+Kj/kKRpc1wqYHFH6n7q6c0SZxNN1577GThq388GdehZGB8O+K P2Qoh5gTQa/04/LT/ZGhL78c2NW8i4DX5MjkA0QGyiegqaDFisgaHUmrxTPptHGg == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B7A1F24608; Sat, 20 Jan 2018 11:28:56 -0500 (EST) From: Thomas Monjalon To: Aleksey Baulin Cc: dev@dpdk.org, stephen@networkplumber.org, Jim Thompson , keith.wiles@intel.com Date: Sat, 20 Jan 2018 17:28:21 +0100 Message-ID: <2159612.Yb9fnfsrWT@xps> In-Reply-To: <1511129764-23123-1-git-send-email-Aleksey.Baulin@gmail.com> References: <1511129764-23123-1-git-send-email-Aleksey.Baulin@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal/common: better likely() and unlikely() 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: Sat, 20 Jan 2018 16:28:58 -0000 19/11/2017 23:16, Aleksey Baulin: > A warning is issued when using an argument to likely() or unlikely() > builtins which is evaluated to a pointer value, as __builtin_expect() > expects a 'long int' type for its first argument. With this fix > a pointer value is converted to an integer with the value of 0 or 1. > > Signed-off-by: Aleksey Baulin After philosophical debates, Applied, thanks :)