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 E2DD145F4D; Thu, 26 Dec 2024 21:12:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 759D1402AF; Thu, 26 Dec 2024 21:12:01 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 6AEE9402AF for ; Thu, 26 Dec 2024 21:12:00 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1213) id 61A46203EC22; Thu, 26 Dec 2024 12:11:59 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 61A46203EC22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1735243919; bh=gAu27OzrIq7lIVBeNqdrVqikbXt/svR9Mr3XyuIKX4c=; h=From:To:Cc:Subject:Date:From; b=N819idYnyC0phD0HMU1BdDzUNfOTUblneKC95FdzwYh+sk3+SCUZBXPfacaXg7F66 Mnjkm2iJW3iBN1YAz/dlbJH0KhrJCBHzjK1TEbNG1EVXHw2uAkkCLDvPIvigfmA5Od /fQhGuwllA2+UNNHsM+V4CiMLfOI6avSIbpB8KgM= From: Andre Muezerie To: Cc: dev@dpdk.org, Andre Muezerie Subject: [PATCH 0/2] remove use of non-standard array range initialization Date: Thu, 26 Dec 2024 12:11:41 -0800 Message-Id: <1735243903-26857-1-git-send-email-andremue@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 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 Array range initialization is non-standard and is not provided by all compilers. MSVC does not implement it and ends up emitting errors like the one below: drivers/net/r8169/r8169_phy.c(380): error C2143: syntax error: missing ':' before '...' case CFG_METHOD_48 ... CFG_METHOD_57: The fix is to explicitly initialize each element in the range. Andre Muezerie (2): app/test: remove use of non-standard array range initialization drivers/net: remove use of non-standard array range initialization app/test/test_cryptodev_zuc_test_vectors.h | 156 ++++++- drivers/net/octeon_ep/otx_ep_mbox.c | 24 +- drivers/net/r8169/base/rtl8125a_mcu.c | 8 +- drivers/net/r8169/base/rtl8126a.c | 5 +- drivers/net/r8169/r8169_ethdev.c | 34 +- drivers/net/r8169/r8169_hw.c | 447 ++++++++++++++++++--- drivers/net/r8169/r8169_phy.c | 163 +++++++- drivers/net/r8169/r8169_rxtx.c | 25 +- 8 files changed, 770 insertions(+), 92 deletions(-) -- 2.47.0.vfs.0.3