Message ID | 1706134657-17446-1-git-send-email-roretzla@linux.microsoft.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 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 <dev@dpdk.org>; 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 <roretzla@linux.microsoft.com> To: dev@dpdk.org Cc: Bruce Richardson <bruce.richardson@intel.com>, Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>, Sameh Gobriel <sameh.gobriel@intel.com>, Vladimir Medvedkin <vladimir.medvedkin@intel.com>, Yipeng Wang <yipeng1.wang@intel.com>, Stephen Hemminger <stephen@networkplumber.org>, Tyler Retzlaff <roretzla@linux.microsoft.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
more replacement of zero length array
|
|
Message
Tyler Retzlaff
Jan. 24, 2024, 10:17 p.m. UTC
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(-)
Comments
Series-acked-by: Chengwen Feng <fengchengwen@huawei.com> On 2024/1/25 6:17, Tyler Retzlaff wrote: > 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(-) >