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 A2708A04FE; Thu, 26 Dec 2019 17:21:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E469A1BFAF; Thu, 26 Dec 2019 17:21:20 +0100 (CET) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 468CB1BF7A for ; Thu, 26 Dec 2019 17:21:20 +0100 (CET) Received: by mail-wr1-f65.google.com with SMTP id c14so23987336wrn.7 for ; Thu, 26 Dec 2019 08:21:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mmQXXWVZ4S8uBY0A/C+pL6s/V7ax6XpAQpm2YUu3HUM=; b=E10VtRZr5uGDySABTw8I3R4k/w7A09FlBhwn2VV7CWiiq2jxjHGHgf19S2rr1xUGZH Z1vBhyNXi35fnz1AVgMe8AsGraam/gPS4mPrRqR/1MIz4iT1liPMHwc+4xCgEcRNkFxa PWeExud1k8f3hxh8xZkShcRT1gGTHopN4YHmxk97DiHhh+uYyaIL6oSK63SomDpcZtsj 90AXwowTvuLz4sUp2NdC/59IXsuIxTTExPFmY12zOPhlof57iN73ZXvEaoZFtcLNHbaO +3BrXYh+Z/S0myWJSgwm01vjMrlrfXPrnwL4x1PXVCHO/XaDPA7h1xppwv3broW2EqEd meuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mmQXXWVZ4S8uBY0A/C+pL6s/V7ax6XpAQpm2YUu3HUM=; b=OAWR0mgXeh36ClVvByDedpPYGJXxE+z/OZpCPSufHdb4NHzylZLGR76TjQ4DQSRseV b1DRadhM/AmIOBJX4tcj2AdOzsBI2QMNmcHmTaG29K3Y74RBaxtwJMsMI4yqbLddH63c TOrfgDj65TyAKi3A97pcvSOqrRIGPEu8n+He6eV8tkU3I43zdOjfMrNXEtuqqVH5A+eI YQvVWXL1W3L5lxlDfSdXeVFJHJ0tt3wA5yCBRRK5Mi4BzsJ06T4pvutH6w5b3p1/64Pu Ua2vYNyziPHqYc2CqrKRv/T94dzqsICEpFJ8Ygepf5HHUogpkIqNa2WpqAAOcfH6l5XM Txeg== X-Gm-Message-State: APjAAAXO8VeKpEw9VQDQlTlNC7CZ2bOLPVmLpi1yWz6OKrqDfH3kygpU AuhI5rHUKpJVJshlANmFo7ZAug== X-Google-Smtp-Source: APXvYqxJmglqXL/bROWd4xSFZ/dEdhDiOprCle3qtJfTnN5XUwjXRR+8ZbB5XdFwvDGmgemg3iP21Q== X-Received: by 2002:a5d:6408:: with SMTP id z8mr46763916wru.122.1577377279848; Thu, 26 Dec 2019 08:21:19 -0800 (PST) Received: from 6wind.com (2a01cb0c0005a600345636f7e65ed1a0.ipv6.abo.wanadoo.fr. [2a01:cb0c:5:a600:3456:36f7:e65e:d1a0]) by smtp.gmail.com with ESMTPSA id t1sm8772912wma.43.2019.12.26.08.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2019 08:21:19 -0800 (PST) Date: Thu, 26 Dec 2019 17:21:18 +0100 From: Olivier Matz To: Ciara Power Cc: arybchenko@solarflare.com, dev@dpdk.org, bruce.richardson@intel.com, stable@dpdk.org Message-ID: <20191226162118.GJ22738@platinum> References: <20191202091517.17461-1-ciara.power@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191202091517.17461-1-ciara.power@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH] lib: fix unnecessary boolean casts 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" On Mon, Dec 02, 2019 at 09:15:17AM +0000, Ciara Power wrote: > The values already boolean types, so the use of !! is unnecessary as > it is used to convert to boolean. > > Fixes: ea672a8b1655 ("mbuf: remove the rte_pktmbuf structure") > Fixes: a0fd91cefcc0 ("mempool: rename functions with confusing names") > Cc: olivier.matz@6wind.com > Cc: bruce.richardson@intel.com > Cc: stable@dpdk.org > > Signed-off-by: Ciara Power Acked-by: Olivier Matz Thanks