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

2020-11-13 Thread Thomas Monjalon
05/11/2020 14:58, Olivier Matz: > On Thu, Nov 05, 2020 at 01:51:14PM +, 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

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

2020-11-05 Thread Olivier Matz
On Thu, Nov 05, 2020 at 01:51:14PM +, 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. > > Coveri

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

2020-11-05 Thread David Hunt
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