DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] bus/auxiliary: fix device iteration
@ 2021-11-22  9:25 David Marchand
  2021-11-22  9:43 ` Xueming(Steven) Li
  0 siblings, 1 reply; 3+ messages in thread
From: David Marchand @ 2021-11-22  9:25 UTC (permalink / raw)
  To: dev; +Cc: Parav Pandit, Xueming Li, Andrew Rybchenko, Thomas Monjalon

rte_kvargs_parse() expects a NULL terminated keys array.

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

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/bus/auxiliary/auxiliary_params.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bus/auxiliary/auxiliary_params.c b/drivers/bus/auxiliary/auxiliary_params.c
index a9c7853ed1..d115e11d32 100644
--- a/drivers/bus/auxiliary/auxiliary_params.c
+++ b/drivers/bus/auxiliary/auxiliary_params.c
@@ -18,6 +18,7 @@ enum auxiliary_params {
 
 static const char * const auxiliary_params_keys[] = {
 	[RTE_AUXILIARY_PARAM_NAME] = "name",
+	NULL,
 };
 
 static int
-- 
2.23.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] bus/auxiliary: fix device iteration
  2021-11-22  9:25 [PATCH] bus/auxiliary: fix device iteration David Marchand
@ 2021-11-22  9:43 ` Xueming(Steven) Li
  2021-11-24 13:19   ` David Marchand
  0 siblings, 1 reply; 3+ messages in thread
From: Xueming(Steven) Li @ 2021-11-22  9:43 UTC (permalink / raw)
  To: dev, david.marchand
  Cc: Parav Pandit, andrew.rybchenko, NBU-Contact-Thomas Monjalon (EXTERNAL)

On Mon, 2021-11-22 at 10:25 +0100, David Marchand wrote:
> rte_kvargs_parse() expects a NULL terminated keys array.
> 
> Fixes: 1afce3086cf4 ("bus/auxiliary: introduce auxiliary bus")
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
>  drivers/bus/auxiliary/auxiliary_params.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/bus/auxiliary/auxiliary_params.c b/drivers/bus/auxiliary/auxiliary_params.c
> index a9c7853ed1..d115e11d32 100644
> --- a/drivers/bus/auxiliary/auxiliary_params.c
> +++ b/drivers/bus/auxiliary/auxiliary_params.c
> @@ -18,6 +18,7 @@ enum auxiliary_params {
>  
>  static const char * const auxiliary_params_keys[] = {
>  	[RTE_AUXILIARY_PARAM_NAME] = "name",
> +	NULL,
>  };
>  
>  static int

Nice catch, thanks!

Acked by: Xueming Li <xuemingl@nvidia.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] bus/auxiliary: fix device iteration
  2021-11-22  9:43 ` Xueming(Steven) Li
@ 2021-11-24 13:19   ` David Marchand
  0 siblings, 0 replies; 3+ messages in thread
From: David Marchand @ 2021-11-24 13:19 UTC (permalink / raw)
  To: Xueming(Steven) Li
  Cc: dev, Parav Pandit, andrew.rybchenko,
	NBU-Contact-Thomas Monjalon (EXTERNAL)

On Mon, Nov 22, 2021 at 10:43 AM Xueming(Steven) Li <xuemingl@nvidia.com> wrote:
> On Mon, 2021-11-22 at 10:25 +0100, David Marchand wrote:
> > rte_kvargs_parse() expects a NULL terminated keys array.
> >
> > Fixes: 1afce3086cf4 ("bus/auxiliary: introduce auxiliary bus")
> >
> > Signed-off-by: David Marchand <david.marchand@redhat.com>
> Acked by: Xueming Li <xuemingl@nvidia.com>

Applied, thanks.


-- 
David Marchand


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-24 13:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22  9:25 [PATCH] bus/auxiliary: fix device iteration David Marchand
2021-11-22  9:43 ` Xueming(Steven) Li
2021-11-24 13:19   ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).