bus/auxiliary: fix device iteration

rte_kvargs_parse() expects a NULL terminated keys array.

Fixes: 1afce3086c ("bus/auxiliary: introduce auxiliary bus")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Xueming Li <xuemingl@nvidia.com>
This commit is contained in:
David Marchand 2021-11-22 10:25:43 +01:00
parent 92eb2c3465
commit 8d5774d02f

View File

@ -18,6 +18,7 @@ enum auxiliary_params {
static const char * const auxiliary_params_keys[] = { static const char * const auxiliary_params_keys[] = {
[RTE_AUXILIARY_PARAM_NAME] = "name", [RTE_AUXILIARY_PARAM_NAME] = "name",
NULL,
}; };
static int static int