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 92706423CA; Fri, 13 Jan 2023 22:52:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A30C042E3C; Fri, 13 Jan 2023 22:52:18 +0100 (CET) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mails.dpdk.org (Postfix) with ESMTP id 10E6F42E34 for ; Fri, 13 Jan 2023 22:52:15 +0100 (CET) Received: by mail-pj1-f52.google.com with SMTP id dw9so22277917pjb.5 for ; Fri, 13 Jan 2023 13:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; 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=cAMaVYWd8/qFDzf1fgLGaFteDQeA8HILyXH64Z4OUB8=; b=IuZQO4P7ajLpPDQR8yl9bE3gmz6stEVxIzrxdV13tdHajPP0l7RdZZQsxeupc22sTG l+QRwRRYt1cD10JEUxlLD/zuYULnv6UGyYeOnmhAkF2fRHT/dd0DA4uNTLpgft4Wuqyv kzDNrn7QMUetMQ6TLtSpjknTQx+OXFD+7DZ9wxEBJg5Uh/IzjymyzxhSeOzvIEwmpP4R 62vdg9RBpnl5I8yTl6cTiyZhRB9hok38UnR2OGLhNFGgCykFM2vusaj0kNqDtM6rnYwN oh9KUjSr2bnSnzFZ0ZOK2Hj3tZmL0YKwDyYMgb0oBWw8/BtgjHBNed9atuZ5WX1ZXNtk IeUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=cAMaVYWd8/qFDzf1fgLGaFteDQeA8HILyXH64Z4OUB8=; b=pjQ466lX8Tf6D7dm9EXi9LcKAbW4QI5HxD0tg0MyA02kPb2GzIt8yJmqQALJgghRSo xHy6GB5MK0Xzmnhlrc3pZjdHhRQGL4MGAgjLk+rmOjTn2Kevt1rb6BWbAbwEWpkt1WG8 cF8B+SvxRxEs26Xivc5qHQcAAqo9YBGSTsmMYYJDnRxJ9Dv/RYPt8EzjB16iV5DzDI1h oisK1gBDyOpYF8Mwh4GdoIll10nOry4RFsR4CWiKzXmeZ44CNexSrNDGgcYBYLuaY37L 3vpKijb9+hVhxHB+2FZBL2KGrnUeMrI8DwpOqrsZTconpXl1UdJ+n3yj7zNMQDTPn1rN qH3g== X-Gm-Message-State: AFqh2kp4LOJRGPKz0TtyjpAwez+qXMXxoOh0pmK+FmA9SeCTPI1StGDD bfTFZzuXosBMtFpcPvohznUWylVAyRHhPgOteQ4= X-Google-Smtp-Source: AMrXdXuG/EG6r96J+xV/wSg2YNKSkSv4MAB5ZILAFPj1qgR4NM/U3eKa/UhLULrGg1LV9iiQJUKiUQ== X-Received: by 2002:a05:6a21:c01c:b0:b6:204c:709a with SMTP id bm28-20020a056a21c01c00b000b6204c709amr18695834pzc.36.1673646734104; Fri, 13 Jan 2023 13:52:14 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id m190-20020a6258c7000000b005821c109cebsm9543995pfb.199.2023.01.13.13.52.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 13:52:13 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena Subject: [PATCH 7/7] dpaax: replace zero length array with flex array Date: Fri, 13 Jan 2023 13:52:05 -0800 Message-Id: <20230113215205.125767-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230113215205.125767-1-stephen@networkplumber.org> References: <20230113215205.125767-1-stephen@networkplumber.org> MIME-Version: 1.0 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 GNU extension. Replace with standard flex array. Signed-off-by: Stephen Hemminger --- drivers/common/dpaax/caamflib/desc/ipsec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/dpaax/caamflib/desc/ipsec.h b/drivers/common/dpaax/caamflib/desc/ipsec.h index 8ec6aac915b4..2c9080a1b51d 100644 --- a/drivers/common/dpaax/caamflib/desc/ipsec.h +++ b/drivers/common/dpaax/caamflib/desc/ipsec.h @@ -350,7 +350,7 @@ struct ipsec_encap_pdb { }; uint32_t spi; uint32_t ip_hdr_len; - uint8_t ip_hdr[0]; + uint8_t ip_hdr[]; }; static inline unsigned int -- 2.39.0