[PATCH 0/2] mempool: add rte_errno, and turn functions into single-exit ones
Ariel Otilibili
ariel.otilibili at 6wind.com
Sun Jan 19 18:46:41 CET 2025
Hello,
This series is for BugZilla ID 1559.
rte_mempool_set_ops_byname() did not set rte_errno for error exit. As well, other functions did not consistently set the variable.
For avoiding that, they are turned into single-exit functions.
Thank you,
Ariel Otilibili (2):
mempool: add rte_errno in rte_mempool_set_ops_byname
mempool: turn functions into single-exit ones
lib/mempool/rte_mempool_ops.c | 44 ++++++++++++++++++++++++++---------
1 file changed, 33 insertions(+), 11 deletions(-)
--
2.30.2
More information about the dev
mailing list