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 7F0DA43AFE; Mon, 12 Feb 2024 23:57:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 470B840274; Mon, 12 Feb 2024 23:57:28 +0100 (CET) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id F1ACD4026E for ; Mon, 12 Feb 2024 23:57:26 +0100 (CET) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6e0507eb60cso2379741b3a.3 for ; Mon, 12 Feb 2024 14:57:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1707778646; x=1708383446; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=4U62ZRK1ORCvksbt32r577H/t78yW9UIhVCYK7pJQ6Q=; b=tge4r68w1+nMho6M5XWdi0664gTuDbGTIgu7iexDa7oeyF9cE5+GeGlQoCv5tuSpbD /wOphgqgpMDNIgBsbNwu1403jRayJxBx6Z5nKTd5n4IFHxQnsO88Rkw6V3LHoWmf0f0m mJpMSNY65RZdRKLcCZfJ43e0xPcGFUltVrwuOG7lC+VOwQOlrp2mzEpkxrzroVLbGt3a 9JG/yy0bbNwGabKe1modNxarFWOQujF/bqdvREKF3/QbQEWkVGoi5X4VisvQjKSWqUun YkdvPokgxYQxetoi/Y612PnOAyz5KaHZPFTBc8vvPWvd3UmrJ856AxxBJtG8337XGdHW TMjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707778646; x=1708383446; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4U62ZRK1ORCvksbt32r577H/t78yW9UIhVCYK7pJQ6Q=; b=n2INFuSXgSOfgqRmDq3sTr4Lc7o+GqdQk2/5Lzi5DcJSKmD1pzwIp8pcrNkUlzFs39 P3sXjH/iyBqj93NYyQgf5pLhiIy24bYNE4M3dqdTo01i67Xr9PRuHwbdvx1YfIluA1Qn 1UvVXfqoZuCfl0P2scj1lXKoOC8jRiG0mg7h/DPHaXzzVdz13JVoKuryOqGGotnY310x UYzLkqGP3YxnjOmUb15uteXi8V3buHZM1n9NozY4bqeKkT6GM3BVL9jNWpEmx+hEYf+7 RgEyer1wP7xnKM7782J7u7zxtpV9zsbeApKRV1BEAnw8n1CT9qA8vaLHStogzkw4y1m6 pa6A== X-Gm-Message-State: AOJu0YxIwbe60BuszDa89Umtxgch3hpUT0YCmgsdoCxLvsBYIhLrbvAM 1mGGVnhnUmN2pwOMSKc0xwwxP6CA88667kuUzJqKZGa6cPkzbpnEJeH+wD2rM6U= X-Google-Smtp-Source: AGHT+IFQXKe7vu52B9G+du8apOJ704Hn9/Xs/8ryUe6cVEvcdEyjdKJ7tdeDIqeQyZG1SOHKLAD8Jw== X-Received: by 2002:a05:6a21:1583:b0:19e:9ae1:a2ad with SMTP id nr3-20020a056a21158300b0019e9ae1a2admr8309079pzb.60.1707778646219; Mon, 12 Feb 2024 14:57:26 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUbhT1uLjXcT4hEII3uDCaDsMjtwwrKzHFLJIlIhtF6CZ9M8WColAVxRm9JHJ1HVm1Y5jmvfdN67Cj15ecvlTIZj/Xf7bvpIEWyU6ABWGD8Tbx69PGYDz5J5OT6EmaBBxEwkPlk1EGW511J+5FOxU3PcnMEG0a/i/Wo9wsPmXkNAxjAdwY0wN9I5n8gSpo2g0EFndiSpecytQ7kc3ZHModXorXtQNKtVmcZAaXj4JoBBLKB2axujUk1iAoSw84ugeV6TGCXJFwbHAqiLAnyt/QHgpzQTof7WrNAiquY1FOtmbsMsTxy7bjzXQot+8BA+tHL+fpOcDqFX0grM9JTxtdQzA0DsskCfcU+ Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id n3-20020aa79843000000b006e053c0509esm6063513pfq.69.2024.02.12.14.57.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 14:57:26 -0800 (PST) Date: Mon, 12 Feb 2024 14:57:24 -0800 From: Stephen Hemminger To: Tyler Retzlaff Cc: dev@dpdk.org, Bruce Richardson , Cristian Dumitrescu , Honnappa Nagarahalli , Sameh Gobriel , Vladimir Medvedkin , Yipeng Wang , mb@smartsharesystems.com, fengchengwen@huawei.com Subject: Re: [PATCH v2 0/4] more replacement of zero length array Message-ID: <20240212145724.56e9f83b@hermes.local> In-Reply-To: <1707777366-26000-1-git-send-email-roretzla@linux.microsoft.com> References: <1706134657-17446-1-git-send-email-roretzla@linux.microsoft.com> <1707777366-26000-1-git-send-email-roretzla@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Mon, 12 Feb 2024 14:36:02 -0800 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 > > v2: > * added additional patches for fib & pipeline libs. > series-acks have been placed only against original > hash and rcu patches. > > Tyler Retzlaff (4): > hash: replace zero length array with flex array > rcu: replace zero length array with flex array > fib: replace zero length array with flex array > pipeline: replace zero length array with flex array > > lib/fib/dir24_8.h | 2 +- > lib/fib/trie.h | 2 +- > lib/hash/rte_thash.c | 4 ++-- > lib/pipeline/rte_pipeline.h | 2 +- > lib/rcu/rcu_qsbr_pvt.h | 2 +- > 5 files changed, 6 insertions(+), 6 deletions(-) > Series-acked-by: Stephen Hemminger