[dpdk-dev] [PATCH] mempool: fix ignore return value Coverity issue

Olivier Matz olivier.matz at 6wind.com
Thu Nov 5 14:58:37 CET 2020


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 at dpdk.org
> 
> Signed-off-by: David Hunt <david.hunt at intel.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Thanks David!


More information about the dev mailing list