From: Haiyue Wang <haiyue.wang@intel.com>
To: stable@dpdk.org
Cc: christian.ehrhardt@canonical.com, yux.jiang@intel.com,
qi.z.zhang@intel.com, alialnu@nvidia.com,
Haiyue Wang <haiyue.wang@intel.com>,
Qiming Yang <qiming.yang@intel.com>,
Wenzhuo Lu <wenzhuo.lu@intel.com>
Subject: [PATCH 19.11 v2 2/3] net/ice: build failure with make and clang 13
Date: Wed, 15 Dec 2021 08:35:43 +0800 [thread overview]
Message-ID: <20211215003544.371084-2-haiyue.wang@intel.com> (raw)
In-Reply-To: <20211215003544.371084-1-haiyue.wang@intel.com>
Disable the -Wunused-but-set-variable option for clang to avoid
compile warning.
Bugzilla ID: 902
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
---
drivers/net/ice/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ice/Makefile b/drivers/net/ice/Makefile
index 6c4d155268..370b33af60 100644
--- a/drivers/net/ice/Makefile
+++ b/drivers/net/ice/Makefile
@@ -26,6 +26,7 @@ CFLAGS_BASE_DRIVER +=
else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y)
CFLAGS_BASE_DRIVER += -Wno-unused-parameter
CFLAGS_BASE_DRIVER += -Wno-unused-variable
+CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable
else
CFLAGS_BASE_DRIVER += -Wno-unused-parameter
CFLAGS_BASE_DRIVER += -Wno-unused-variable
--
2.34.1
next prev parent reply other threads:[~2021-12-15 1:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-15 0:35 [PATCH 19.11 v2 1/3] net/i40e: " Haiyue Wang
2021-12-15 0:35 ` Haiyue Wang [this message]
2021-12-15 13:37 ` [PATCH 19.11 v2 2/3] net/ice: " Christian Ehrhardt
2021-12-15 0:35 ` [PATCH 19.11 v2 3/3] net/ixgbe: " Haiyue Wang
2021-12-15 13:34 ` Christian Ehrhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211215003544.371084-2-haiyue.wang@intel.com \
--to=haiyue.wang@intel.com \
--cc=alialnu@nvidia.com \
--cc=christian.ehrhardt@canonical.com \
--cc=qi.z.zhang@intel.com \
--cc=qiming.yang@intel.com \
--cc=stable@dpdk.org \
--cc=wenzhuo.lu@intel.com \
--cc=yux.jiang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).