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 6144B439BC; Wed, 24 Jan 2024 23:17:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D131402A6; Wed, 24 Jan 2024 23:17:42 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 4E4CC4027A for ; Wed, 24 Jan 2024 23:17:40 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 9DF3720E5675; Wed, 24 Jan 2024 14:17:39 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9DF3720E5675 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1706134659; bh=2V7KqixjbOvjC0AMkTs78JKgi8ng0GqeHlwQGa6XCsM=; h=From:To:Cc:Subject:Date:From; b=aYzw12ypDCImWAadWW54cAhlvQoy29nCcaiBqlyV5w3Mrat+FlRpXbJLuP8Gs6rNy CL/yJi6P19kZ0J6VfD/o53UVs9sGGe6az4/r9+jSwebtpiSZ+BxdL66NYE2CbYlovo qVqes+rOA3MI3Q+jKBHEtLQmKxx1zHopkVV0FGic= From: Tyler Retzlaff To: dev@dpdk.org Cc: Bruce Richardson , Honnappa Nagarahalli , Sameh Gobriel , Vladimir Medvedkin , Yipeng Wang , Stephen Hemminger , Tyler Retzlaff Subject: [PATCH 0/2] more replacement of zero length array Date: Wed, 24 Jan 2024 14:17:35 -0800 Message-Id: <1706134657-17446-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 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 Tyler Retzlaff (2): hash: replace zero length array with flex array rcu: replace zero length array with flex array lib/hash/rte_thash.c | 4 ++-- lib/rcu/rcu_qsbr_pvt.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -- 1.8.3.1