Re: [dpdk-dev] [PATCH] kvargs: fix processing a null list

2018-10-24 Thread Olivier Matz
On Tue, Oct 23, 2018 at 06:24:54PM +0200, Thomas Monjalon wrote: > In the doxygen description of rte_kvargs_process(), it is said: > If *kvlist* is NULL function does nothing. > It has been added by mistake here instead of rte_kvargs_free(). > Anyway, null list should be correctly handled in

[dpdk-dev] [PATCH] kvargs: fix processing a null list

2018-10-23 Thread Thomas Monjalon
In the doxygen description of rte_kvargs_process(), it is said: If *kvlist* is NULL function does nothing. It has been added by mistake here instead of rte_kvargs_free(). Anyway, null list should be correctly handled in both functions. Comments are fixed in both functions and NULL handling