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 7EA9EA04DD for ; 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 71188C806; 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 9C144C7FC for ; Thu, 5 Nov 2020 14:58:38 +0100 (CET) Received: by mail-wm1-f65.google.com with SMTP id s13so1713290wmh.4 for ; Thu, 05 Nov 2020 05:58:38 -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=YDemxDzCYejalFdKB4/Y3BC5KiIWer347IbdjmMntthYlQxL2tqW27O2BNzQQ0m86a BMRRnxX4ColNg7IElASLtM0bL6h+pjDj3D6PIyv9479j/t0LvGweRlwajZVEzBjRab5C aZfh7u3jTgbx6HKhNzCMsWxDns5xk/jGbxIfnRtPG5Cl1YGN1BrDFp5gU2hgtj2YHvvT anEoG3AylWz9toHuU6ba9W8k64I+Xik233mVvPPvlssRARyRhgNpg56z8obJj0WAP757 mfnHgnZfKKuUwy7LhVU6ySZHR/MI0FhGq9VWSVGXMuOv2fQmytR6/5ttL8gTCQvlvMqN 0PgA== X-Gm-Message-State: AOAM531XIMY/JdimYAqbZkEdv5us5QYby10p7bKdOPcbtn3cjAw0aT9z 1sdH0Hu4yzSpsySC3W5BdqGfFQ== 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-stable] [PATCH] mempool: fix ignore return value Coverity issue X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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!