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 7EC4E4334C; Fri, 17 Nov 2023 05:04:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C5C640271; Fri, 17 Nov 2023 05:04:45 +0100 (CET) Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) by mails.dpdk.org (Postfix) with ESMTP id 7547B4014F for ; Fri, 17 Nov 2023 05:04:43 +0100 (CET) Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-6cd0963c61cso884226a34.0 for ; Thu, 16 Nov 2023 20:04:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1700193882; x=1700798682; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Sq4Yp759RBDAquUQJdPOwtLwNkzfibO4bkFNVtcDsYg=; b=JLdKm3amTnR6GI0GU3SgBZqZ/OE3AEupQh9yImZMUtCJWfSxAnSANzNBKSnLQiXutQ isrQbKk/E668XiMz552ojavelYqSuJPgzOX5soawqTA3+7O7yCg7tdHeAm8c7HPjWHfk DGK++ygEWhkUG2CDw7VgsN7PyPOe/mKNfd1mPskE+ZsyOdCNXYzgSI0fU9i9hGR+ZebV rrzzoc8E4xD3UCvWlT7c11C+COsVWkJlajQGJXSyndgznRA7pSCogG1WyZKy5l7uLxv0 WgpBQFiGX7fXZlVwEgkK9ejwsQ2QHarn4HfuvHZJPuJM1e5FHBfVjfWEqXixz9A7ZHRn nIhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700193882; x=1700798682; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Sq4Yp759RBDAquUQJdPOwtLwNkzfibO4bkFNVtcDsYg=; b=OM6oJsnDVLHYvsEvXpQE8T3V+crjf+C271AFqsYoYbuSqfbm8xmLPBbdpNRUbHPWSP L9OMro/yF4NEsWWQ8aZ4E3svowBGQ6nXZBLAO+9hTHEULtyH4gOuaGPI0ffMkCHZ02nj AU1SAf4C4Qf0eO4P1TzNwufzRiav7l7FfwupTcfXAPvX9bCJjNXmZQtfNxX11V29fzTM gzLeRLLDzesQ0MypUUWDXU6m2hh9EHUuQr/QIw2IUPum9x3XJVf1vm8Cjlx0bzgKACLa 7rbsFSxIRCmmnE+GHgi+zaQsXH/d+qTapCNm0c7+x2hmKdIxzKFJyf6uoJP6i4rOhQM2 An2A== X-Gm-Message-State: AOJu0Yy40Mp9B3jt/O1PzB2A0iTWNSff/FlnI/IT4jnN3GAQPBMuqOyn jZ5oRxndvDbwElNmX2c1WJUEHYYvyIgICgl31yeznA== X-Google-Smtp-Source: AGHT+IFfgokkJfO0KOlJCLu+4X58jwHi5t+YI9hKeIjdM7gCAhk9Z/KO1XKCZ1UjuNh190BTqiWi7g== X-Received: by 2002:a05:6870:e8c8:b0:1e9:b4d1:9bed with SMTP id r8-20020a056870e8c800b001e9b4d19bedmr19699389oan.40.1700193882153; Thu, 16 Nov 2023 20:04:42 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id s11-20020a65644b000000b005bcebc93d7asm389873pgv.47.2023.11.16.20.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 20:04:41 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 00/10] replace zero length arrays Date: Thu, 16 Nov 2023 20:03:12 -0800 Message-ID: <20231117040432.131737-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230113215205.125767-1-stephen@networkplumber.org> References: <20230113215205.125767-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Zero length arrays are a GNU extension that has been superseded by flex arrays. https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html These are places found by cocci/zero_length_array.cocci v2 - rebased on 23.11-rc3 more places started using zero length array Stephen Hemminger (10): member: replace zero length array with flex array cryptodev: replace zero length array with flex array security: replace zero length array with flex array pipeline: replace zero length array with flex array net/nfp: replace zero length array with flex array net/enic: replace zero length array with flex array net/mlx5: replace zero length array with flex array pdcp: replace zero length array with flex array net/cpfl: replace zero length array with flex array common/dpaxx: replace zero length array with flex array drivers/common/dpaax/caamflib/desc/ipsec.h | 2 +- drivers/common/mlx5/mlx5_prm.h | 2 +- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 2 +- drivers/net/enic/base/vnic_devcmd.h | 2 +- drivers/net/mlx5/mlx5.h | 4 ++-- drivers/net/mlx5/mlx5_flow.h | 2 +- drivers/net/mlx5/mlx5_tx.h | 2 +- drivers/net/nfp/flower/nfp_flower_cmsg.h | 2 +- lib/cryptodev/cryptodev_pmd.h | 2 +- lib/member/rte_member_heap.h | 2 +- lib/pdcp/pdcp_entity.h | 2 +- lib/pipeline/rte_swx_pipeline_internal.h | 2 +- lib/security/rte_security_driver.h | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) -- 2.42.0