From patchwork Mon Feb 12 22:36:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Retzlaff X-Patchwork-Id: 637 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37BFD43AFE; Mon, 12 Feb 2024 23:36:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C6FB4026E; Mon, 12 Feb 2024 23:36:10 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 1155740268 for ; Mon, 12 Feb 2024 23:36:08 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 372A9207ECA7; Mon, 12 Feb 2024 14:36:07 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 372A9207ECA7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1707777367; bh=k5+OR22JPhPJhM8U2VjW9BEK2hS2r2WZJJ3t3jMEDHs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V9GcWZdLXSu+sN/HXVAUGHgSimtdPN2sZMXMtq9cFOTus/yfsRYsa3ffE5Rf3NYxZ zpD6id0EL0pA963xYPzYq3flUxMSliBbCARbQS0Lsz0psvdKm4UQKekkKbLpWcC3Yv eoJnX7nmu4splRoJ11SwypWoMM03FlbUovGtwlyQ= From: Tyler Retzlaff To: dev@dpdk.org Cc: Bruce Richardson , Cristian Dumitrescu , Honnappa Nagarahalli , Sameh Gobriel , Vladimir Medvedkin , Yipeng Wang , mb@smartsharesystems.com, fengchengwen@huawei.com, Tyler Retzlaff Subject: [PATCH v2 0/4] more replacement of zero length array Date: Mon, 12 Feb 2024 14:36:02 -0800 Message-Id: <1707777366-26000-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1706134657-17446-1-git-send-email-roretzla@linux.microsoft.com> References: <1706134657-17446-1-git-send-email-roretzla@linux.microsoft.com> MIME-Version: 1.0 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 Replace some missed zero length arrays not captured in the original series. https://patchwork.dpdk.org/project/dpdk/list/?series=30410&state=* Zero length arrays are a GNU extension that has been superseded by flex arrays. https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html v2: * added additional patches for fib & pipeline libs. series-acks have been placed only against original hash and rcu patches. Tyler Retzlaff (4): hash: replace zero length array with flex array rcu: replace zero length array with flex array fib: replace zero length array with flex array pipeline: replace zero length array with flex array lib/fib/dir24_8.h | 2 +- lib/fib/trie.h | 2 +- lib/hash/rte_thash.c | 4 ++-- lib/pipeline/rte_pipeline.h | 2 +- lib/rcu/rcu_qsbr_pvt.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-)