Re: [PATCH v2 1/2] mempool: fix internal function documentation

2023-11-27 Thread Thomas Monjalon
06/11/2023 13:24, Andrew Rybchenko: > On 10/23/23 12:38, Ferruh Yigit wrote: > > - * - >=0: Success; number of objects supplied. > > + * - 0: Success; number of objects supplied. > > I think "number of objects supplied" does not make sense here any more. Yes, will remove on apply.

Re: [PATCH v2 1/2] mempool: fix internal function documentation

2023-11-06 Thread Andrew Rybchenko
On 10/23/23 12:38, Ferruh Yigit wrote: static function `rte_mempool_do_generic_get()` returns zero on success, not >=0 as its function comment documents. Since this function called by public API, the comment causes confusion on the public API return value. Fixing the internal function documenta

[PATCH v2 1/2] mempool: fix internal function documentation

2023-10-23 Thread Ferruh Yigit
static function `rte_mempool_do_generic_get()` returns zero on success, not >=0 as its function comment documents. Since this function called by public API, the comment causes confusion on the public API return value. Fixing the internal function documentation for return value. Fixes: af75078fec