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 521E74338B; Tue, 21 Nov 2023 09:30:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 43A8E40298; Tue, 21 Nov 2023 09:30:56 +0100 (CET) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id F01934025F for ; Tue, 21 Nov 2023 09:30:54 +0100 (CET) Received: from dggpeml100024.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4SZHXY4jltzRjTh; Tue, 21 Nov 2023 16:26:37 +0800 (CST) Received: from [10.67.121.161] (10.67.121.161) by dggpeml100024.china.huawei.com (7.185.36.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 21 Nov 2023 16:30:52 +0800 Subject: Re: [PATCH v4 00/10] Replace zero length arrays To: =?UTF-8?Q?Morten_Br=c3=b8rup?= , Stephen Hemminger CC: References: <20230113215205.125767-1-stephen@networkplumber.org> <20231120170942.197172-1-stephen@networkplumber.org> <98CBD80474FA8B44BF855DF32C47DC35E9F049@smartserver.smartshare.dk> From: fengchengwen Message-ID: Date: Tue, 21 Nov 2023 16:30:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F049@smartserver.smartshare.dk> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.121.161] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml100024.china.huawei.com (7.185.36.115) X-CFilter-Loop: Reflected 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 Series-acked-by: Chengwen Feng On 2023/11/21 15:26, Morten Brørup wrote: >> From: Stephen Hemminger [mailto:stephen@networkplumber.org] >> Sent: Monday, 20 November 2023 18.07 >> >> 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 >> >> v4 - fix issues reported by clang where zero length >> array was embedded in security structures in cn10k >> and txq being embedded in mlx5 was missing extension > > Thanks for cleaning this up. > > Series-acked-by: Morten Brørup >