From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DACB6A0C52; Mon, 22 Nov 2021 10:26:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6E96E410E4; Mon, 22 Nov 2021 10:26:05 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 5768940395 for ; Mon, 22 Nov 2021 10:26:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637573162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pHUV9lln+P/x3arH5jQmVQpuN2QiQ9PXTqszeuKek1w=; b=aaSzGJmDwY0pExnG0qA2SZRCGPvbksp3aueWHd7ZIYL0+YJBYOXg50wy/TiYGCI6kVsNON 2hEEB/QUHQXZW7bYz8Hcr0EpS2minkTm+peE/plI9O4Ew1cTPyK6w3WDsQcJI20OApuunh BKvc2E4dIYs4J+FZg0XB4kNbeGmX6qU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-352-F85MVF14PemhfrDbJbwhlg-1; Mon, 22 Nov 2021 04:26:01 -0500 X-MC-Unique: F85MVF14PemhfrDbJbwhlg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D6FEB100F942; Mon, 22 Nov 2021 09:25:59 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.8]) by smtp.corp.redhat.com (Postfix) with ESMTP id CD04460C5F; Mon, 22 Nov 2021 09:25:57 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Parav Pandit , Xueming Li , Andrew Rybchenko , Thomas Monjalon Subject: [PATCH] bus/auxiliary: fix device iteration Date: Mon, 22 Nov 2021 10:25:43 +0100 Message-Id: <20211122092543.29731-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org rte_kvargs_parse() expects a NULL terminated keys array. Fixes: 1afce3086cf4 ("bus/auxiliary: introduce auxiliary bus") Signed-off-by: David Marchand --- 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