Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mempool: fix get function documentation
[ upstream commit 9b3233ab09ea331dcf5fb38d215d91818bef3b47 ] 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: af75078 ("first public release") Reported-by: Mahesh Adulla <mahesh.adulla@amd.com> Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com> Reviewed-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Huisong Li <lihuisong@huawei.com>
- Loading branch information