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 78FB9439A6; Tue, 23 Jan 2024 11:48:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 62827402B0; Tue, 23 Jan 2024 11:48:15 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 19A74400D7 for ; Tue, 23 Jan 2024 11:48:14 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B40845C03B8; Tue, 23 Jan 2024 05:48:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 23 Jan 2024 05:48:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1706006893; x=1706093293; bh=L+GQ/DKU5t7wLsphu7l1HSM0qrdJ4n5iQ5nN8f7WyS0=; b= B62jCqcCOwkj7vBrdgd/3VnFTZeXyKVimwBq0VzCAOa/8twhVXCv5AmjZTRhOZeq MqiRP3VOIWm6J3sAajjLUlF1TK1c0G+/Vah0/30Ne/HvGf9L6pN8dbk7DbiKcwGG IEqtEZ0kNUTBhQDfvxKYYUULWFy1CDvov48MaS2x5D/mkmAPTBafPiRaq9sFryH7 b25dAmHBEM4W7KmF41h4y6qmRhnLPAgufayyxRkhBJzoi6GDDqjowSL1PkPFJ4gK ckJJiZMZFjiYpm6uIjz/egq2rL8SZL9HxtdzrdkOy6RgBljhFqnMv1BIm11C0+C+ TQVD0/zF2q6Rloex6SvD2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1706006893; x= 1706093293; bh=L+GQ/DKU5t7wLsphu7l1HSM0qrdJ4n5iQ5nN8f7WyS0=; b=a B7jMnaj2O2yGhkNCrQ+2atVQhRmwo/8hJ6bJdXiqWgbiE4yIo/m8leyYfhIdJRrQ SP3A1G+LcoGIqCoH4fZDS+kD0MHxlBZqLm7UVzxzdFEYd6V2hiMDZtldiPn96zPG b2ZI5sY/JGiGOKrNlmSrgO7Hr6tsfkNXkAy/3rF0ozxv8U4WWTdboSvaL1zvAF8G DI/moCxAryFZbwj4Rt0+hYy+eAAmQLfvcOODlgg7eIZZKWLHLg02bgWJb2BbL3t4 PQ/ZMepRe6JmEc8eCj/kJ5bGzRDMYn8uzZIs44acFGqsb0WjTDNCR/EO1OctEoOk 9FVryZwLi0DPMfH1Sn+tw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdekkedgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeeiiedufeeuhfevvddvhffggfetgeekkeehffejhfdtleeljedu gfeuffegieekheenucffohhmrghinhepghhnuhdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhn rdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 23 Jan 2024 05:48:12 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org Subject: Re: [PATCH v5 00/10] Replace zero length arrays Date: Tue, 23 Jan 2024 11:48:11 +0100 Message-ID: <2973259.VdNmn5OnKV@thomas> In-Reply-To: <20231129024221.57653-1-stephen@networkplumber.org> References: <20230113215205.125767-1-stephen@networkplumber.org> <20231129024221.57653-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit 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 29/11/2023 03:39, Stephen Hemminger: > 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 > > v5 - revised version of dpaxx ip_hdr fix > rebase to 23.11 > > 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 There is no more left with devtools/cocci.sh devtools/cocci/zero_length_array.cocci Applied, thanks.