numam-dpdk/lib/librte_kvargs
Thomas Monjalon 25495407cb kvargs: fix processing a null list
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 is added
to rte_kvargs_process().

Fixes: c34af7424e ("kvargs: fix freeing behaviour for null")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2018-10-24 15:06:46 +02:00
..
Makefile kvargs: build before EAL 2018-07-15 23:42:16 +02:00
meson.build kvargs: fix building with meson outside source tree 2018-07-26 10:14:06 +02:00
rte_kvargs_version.map kvargs: add generic string matching callback 2018-07-15 23:44:22 +02:00
rte_kvargs.c kvargs: fix processing a null list 2018-10-24 15:06:46 +02:00
rte_kvargs.h kvargs: fix processing a null list 2018-10-24 15:06:46 +02:00