From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id BD976187 for ; Mon, 30 Apr 2018 16:43:42 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id o78so14697442wmg.0 for ; Mon, 30 Apr 2018 07:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eK2JSsNlUbCf9Lab30k4AJ4l50MtZDH7RYnk/WQ4Ke0=; b=IupBKOXVlSPfHnyq7CId1mIhx5wQqpaKvq5vkdsGzhCNnZ92UlgSZX6Mi5ejnwdGFa r8CcXEwtXhr2hVNHHK0m9xvsuerfRp4I+V0xZ8wfi5Y0UHMO49oZWLP0JbilSEw78UmT wtdDx8GhD9+eN0CtvmdXUAf+IEmyf4zOekH/48HXpeIfi8EPqT195F+HapXXArpuWTbn l9501idTqcvwfTba/Qlqzh9vXwxfqkQCHqvpmxHHWbDpnzRVnuQQQ9yYXWRN6MLHlu5d 2/vpAaxPopjSZH7GCdJ/Ro2PKbHUQEtExEY8CxGTgS50lb/VcIzHpCP+kCqMTpOURS94 EWSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eK2JSsNlUbCf9Lab30k4AJ4l50MtZDH7RYnk/WQ4Ke0=; b=JpWAYYmGMX+X4pAbbS4OAmCf2tJl4yc2noSy/m7WDyTyaYRa3XZ+Cfbv0eM0bIabuS tSZmTVZ0kCF4Deserazg688zB0qPBxwC54H9s3HcUBDCIlnKSDdze+Jy9h4d81ILkwhp 2dLarQFiXet3E2j5gtmaymSWFBqph+s1FYCui2RVoHrg7CkX58z3cn/LggJHWoUO7e8f ns7gc/sOBv7mbE/pDZ8OnfY1W0KvM65qTqSZIQ2Wpscm3dcBhsE+alp6IXtzDSRxMYPc 3BersjrwEh8kjVX9pSCy9P/EDaLFxkM3qV9QWCjHTds0mOzNBc23KxDlwH6e+gbaWsgg j47w== X-Gm-Message-State: ALQs6tDoWcVwIl43ZYgoeY/qs56c1oN9hdz9n1R1BubVOrg97mlA8tpb CefQbHXADkZmg9eHUUOg+uV/ixoVT8I= X-Google-Smtp-Source: AB8JxZqUYLqMNRrzKp0Gu8xgk/lC79hshzJ4GZ0R1z3UWKzRnR823CcoTx3Aa6oi2AGGFkV6eZQCjA== X-Received: by 10.28.224.6 with SMTP id x6mr7247567wmg.80.1525099422451; Mon, 30 Apr 2018 07:43:42 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id 140sm8126770wmi.9.2018.04.30.07.43.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:43:41 -0700 (PDT) From: luca.boccassi@gmail.com To: Ferruh Yigit Cc: Pablo de Lara , dpdk stable Date: Mon, 30 Apr 2018 15:41:03 +0100 Message-Id: <20180430144223.18657-48-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430144223.18657-1-luca.boccassi@gmail.com> References: <20180430140606.4615-80-luca.boccassi@gmail.com> <20180430144223.18657-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'drivers/net: fix icc deprecated parameter warning' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:43:42 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 6ce2ebf0b3b3f48a27e12216b72301994e565789 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Fri, 13 Apr 2018 23:21:08 +0100 Subject: [PATCH] drivers/net: fix icc deprecated parameter warning [ upstream commit f16d0b36f8168a4c8ec71af178be558008008b98 ] With icc (ICC) 18.0.1 20171018, -wd usage generates following warning: icc: command line remark #10010: option '-wd3656' is deprecated and will be removed in a future release. See '-help deprecated' "icc -help deprecated" output is: -wd use -diag-disable Based on above information "-wd" converted to "-diag-disable" Signed-off-by: Ferruh Yigit Tested-by: Pablo de Lara --- drivers/net/bnx2x/Makefile | 2 +- drivers/net/cxgbe/Makefile | 2 +- drivers/net/e1000/Makefile | 3 ++- drivers/net/fm10k/Makefile | 3 ++- drivers/net/i40e/Makefile | 2 +- drivers/net/ixgbe/Makefile | 5 +++-- drivers/net/qede/Makefile | 4 ++-- drivers/net/sfc/Makefile | 2 +- drivers/net/sfc/meson.build | 2 +- drivers/net/vmxnet3/Makefile | 3 ++- 10 files changed, 16 insertions(+), 12 deletions(-) diff --git a/drivers/net/bnx2x/Makefile b/drivers/net/bnx2x/Makefile index 90ff8b1ee..e3a39a9e0 100644 --- a/drivers/net/bnx2x/Makefile +++ b/drivers/net/bnx2x/Makefile @@ -18,7 +18,7 @@ EXPORT_MAP := rte_pmd_bnx2x_version.map LIBABIVER := 1 ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) -CFLAGS += -wd188 #188: enumerated type mixed with another type +CFLAGS += -diag-disable 188 #188: enumerated type mixed with another type endif # diff --git a/drivers/net/cxgbe/Makefile b/drivers/net/cxgbe/Makefile index 65df14253..5dee3c723 100644 --- a/drivers/net/cxgbe/Makefile +++ b/drivers/net/cxgbe/Makefile @@ -49,7 +49,7 @@ ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) # # CFLAGS for icc # -CFLAGS_BASE_DRIVER = -wd188 +CFLAGS_BASE_DRIVER = -diag-disable 188 else # # CFLAGS for gcc/clang diff --git a/drivers/net/e1000/Makefile b/drivers/net/e1000/Makefile index ba81a1f45..01941ac69 100644 --- a/drivers/net/e1000/Makefile +++ b/drivers/net/e1000/Makefile @@ -22,7 +22,8 @@ ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) # # CFLAGS for icc # -CFLAGS_BASE_DRIVER = -wd177 -wd181 -wd188 -wd869 -wd2259 +CFLAGS_BASE_DRIVER = -diag-disable 177 -diag-disable 181 -diag-disable 188 +CFLAGS_BASE_DRIVER += -diag-disable 869 -diag-disable 2259 else # # CFLAGS for gcc/clang diff --git a/drivers/net/fm10k/Makefile b/drivers/net/fm10k/Makefile index b059a700a..d657dff8a 100644 --- a/drivers/net/fm10k/Makefile +++ b/drivers/net/fm10k/Makefile @@ -19,7 +19,8 @@ ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) # # CFLAGS for icc # -CFLAGS_BASE_DRIVER = -wd174 -wd593 -wd869 -wd981 -wd2259 +CFLAGS_BASE_DRIVER = -diag-disable 174 -diag-disable 593 -diag-disable 869 +CFLAGS_BASE_DRIVER += -diag-disable 981 -diag-disable 2259 else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y) diff --git a/drivers/net/i40e/Makefile b/drivers/net/i40e/Makefile index 5663f5b1c..c91545741 100644 --- a/drivers/net/i40e/Makefile +++ b/drivers/net/i40e/Makefile @@ -24,7 +24,7 @@ LIBABIVER := 2 # to disable warnings # ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) -CFLAGS_BASE_DRIVER = -wd593 -wd188 +CFLAGS_BASE_DRIVER = -diag-disable 593 -diag-disable 188 else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y) CFLAGS_BASE_DRIVER += -Wno-sign-compare CFLAGS_BASE_DRIVER += -Wno-unused-value diff --git a/drivers/net/ixgbe/Makefile b/drivers/net/ixgbe/Makefile index d0804fc5b..f8cad125b 100644 --- a/drivers/net/ixgbe/Makefile +++ b/drivers/net/ixgbe/Makefile @@ -20,9 +20,10 @@ ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) # # CFLAGS for icc # -CFLAGS_BASE_DRIVER = -wd174 -wd593 -wd869 -wd981 -wd2259 +CFLAGS_BASE_DRIVER = -diag-disable 174 -diag-disable 593 -diag-disable 869 +CFLAGS_BASE_DRIVER += -diag-disable 981 -diag-disable 2259 -CFLAGS_ixgbe_rxtx.o += -wd3656 +CFLAGS_ixgbe_rxtx.o += -diag-disable 3656 else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y) # diff --git a/drivers/net/qede/Makefile b/drivers/net/qede/Makefile index ccbffa45d..db5ba966e 100644 --- a/drivers/net/qede/Makefile +++ b/drivers/net/qede/Makefile @@ -73,8 +73,8 @@ ifeq ($(shell clang -Wno-pointer-bool-conversion -Werror -E - < /dev/null > /dev CFLAGS_BASE_DRIVER += -Wno-pointer-bool-conversion endif else #ICC -CFLAGS_BASE_DRIVER += -wd188 #188: enumerated type mixed with another type -CFLAGS_qede_ethdev.o += -wd279 #279: controlling expression is constant +CFLAGS_BASE_DRIVER += -diag-disable 188 #188: enumerated type mixed with another type +CFLAGS_qede_ethdev.o += -diag-disable 279 #279: controlling expression is constant endif # diff --git a/drivers/net/sfc/Makefile b/drivers/net/sfc/Makefile index 8a671dd20..3dae91468 100644 --- a/drivers/net/sfc/Makefile +++ b/drivers/net/sfc/Makefile @@ -46,7 +46,7 @@ else ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable # Suppress ICC false positive warning on 'bulk' may be used before its # value is set -CFLAGS_sfc_ef10_tx.o += -wd3656 +CFLAGS_sfc_ef10_tx.o += -diag-disable 3656 endif LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs diff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build index b60a8f58d..a37fc44a7 100644 --- a/drivers/net/sfc/meson.build +++ b/drivers/net/sfc/meson.build @@ -32,7 +32,7 @@ extra_flags += [ # Suppress ICC false positive warning on 'bulk' may be used before its # value is set -extra_flags += '-wd3656' +extra_flags += '-diag-disable 3656' foreach flag: extra_flags if cc.has_argument(flag) diff --git a/drivers/net/vmxnet3/Makefile b/drivers/net/vmxnet3/Makefile index 6bfbf0195..911850140 100644 --- a/drivers/net/vmxnet3/Makefile +++ b/drivers/net/vmxnet3/Makefile @@ -15,7 +15,8 @@ ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) # # CFLAGS for icc # -CFLAGS_BASE_DRIVER = -wd174 -wd593 -wd869 -wd981 -wd2259 +CFLAGS_BASE_DRIVER = -diag-disable 174 -diag-disable 593 -diag-disable 869 +CFLAGS_BASE_DRIVER += -diag-disable 981 -diag-disable 2259 else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y) # -- 2.14.2