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 D0D01A04DD; Thu, 5 Nov 2020 14:58:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B2D3DC824; Thu, 5 Nov 2020 14:58:40 +0100 (CET) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id A382DC806 for ; Thu, 5 Nov 2020 14:58:39 +0100 (CET) Received: by mail-wm1-f65.google.com with SMTP id c9so1682276wml.5 for ; Thu, 05 Nov 2020 05:58:39 -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=r9mAdc9ME86FvZVVG2f2PKoGN38qYgx7dMb/23TkwDw=; b=iVd9939ge3S3/OEKM51wm4RgJJj/oJiY6Lo8T0LCh90gAoidhlXl5bwB+DpEbCDnIl 8j0yfkFtvxefTo+ynikPG43PaO7Lcz5LZt3UYMQU75HiQbZ/mrhFpY9yhBAkS8ePo/q0 iu1blHxMYknSxDfl0X4ok0JB2w749HyJ0nAZNCNawNUcxeDVWOuWRhAc4vk7RT6FiS/8 BpK3nwVeettnpA4L8ilFQcAc/SecDeMYWwmMm48JxxkjhZXk3AXYbswQMrmF2DS5/KFJ jp0I6VKmhfw5a/hMzk0QtKbM6vUlowXkYwwNHgZofbXnHAThk2DiwdIsGnntkEEDuTn0 yJHg== 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=r9mAdc9ME86FvZVVG2f2PKoGN38qYgx7dMb/23TkwDw=; b=Qyl0JR8qnazr8mJwgLTTjLRnS2Gcjevz4wql09NlJ+XSKOYfRKvUqr/INQFqurce8M 3ztJsZ6/VIdes1F8qxdUc59RdZD5h1aHSP0Yk0/+Y1tUaccFOUMtxML/NoX9v3orAPUd YJJcFcq3zeB9dXiHaYeuVI3OeaMuD2Dt1LyHFHBR8V3ti4hClwi0g5rvhv/Q8mpFUrfg zI1hPrsdDS6FICLZKMEwQjVJaRgXzw3MJV3pQ1qM+djbd7Xz5OEk5D02deEpT2PPszKY Jtp7fd0uyfi6IHiNyb9tyB/JIFIfjT8e0RxDKMVUILvF3MK3qX8xDqBloGbAqvk9TKic qiig== X-Gm-Message-State: AOAM532xAkD75G0eyCkPua3ag1RUwdBtiwJE1ZyV+eqv/cFvadF6iPis iCRPqwEeDy/j5QICdAni6wonYg== X-Google-Smtp-Source: ABdhPJyAOqGjlsTWRyK4bub0HEyr5cGr8D/krWoNrCtiq1DGXVXtaXsHWHL71nEsZWvjqJCU+TsIoQ== X-Received: by 2002:a1c:a145:: with SMTP id k66mr2877092wme.177.1604584718417; Thu, 05 Nov 2020 05:58:38 -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 t4sm2804556wmb.20.2020.11.05.05.58.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 05:58:37 -0800 (PST) Date: Thu, 5 Nov 2020 14:58:37 +0100 From: Olivier Matz To: David Hunt Cc: dev@dpdk.org, andrew.rybchenko@oktetlabs.ru, stable@dpdk.org Message-ID: <20201105135837.GW1898@platinum> References: <20201105135114.10920-1-david.hunt@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201105135114.10920-1-david.hunt@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH] mempool: fix ignore return value Coverity issue 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 Thu, Nov 05, 2020 at 01:51:14PM +0000, David Hunt wrote: > Coverity flags that rte_mempool_ops_dequeue_bulk() is called without > checking the return value. > > This ignoring is intentional, so this patch gets the return code, then > uses RTE_SET_USED so that Coverity will be happy. > > Coverity issue: 363744 > Fixes: 449c49b93a6b ("mempool: support handler operations") > Cc: stable@dpdk.org > > Signed-off-by: David Hunt Acked-by: Olivier Matz Thanks David!