patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH 19.11 v2 1/3] net/i40e: build failure with make and clang 13
@ 2021-12-15  0:35 Haiyue Wang
  2021-12-15  0:35 ` [PATCH 19.11 v2 2/3] net/ice: " Haiyue Wang
  2021-12-15  0:35 ` [PATCH 19.11 v2 3/3] net/ixgbe: " Haiyue Wang
  0 siblings, 2 replies; 5+ messages in thread
From: Haiyue Wang @ 2021-12-15  0:35 UTC (permalink / raw)
  To: stable
  Cc: christian.ehrhardt, yux.jiang, qi.z.zhang, alialnu, Haiyue Wang,
	Beilei Xing

Disable the -Wunused-but-set-variable option for clang to avoid
compile warning.

Bugzilla ID: 901

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
---
 drivers/net/i40e/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/i40e/Makefile b/drivers/net/i40e/Makefile
index 4ea58bd9e7..d6ced28f3d 100644
--- a/drivers/net/i40e/Makefile
+++ b/drivers/net/i40e/Makefile
@@ -35,6 +35,7 @@ CFLAGS_BASE_DRIVER += -Wno-missing-field-initializers
 CFLAGS_BASE_DRIVER += -Wno-pointer-to-int-cast
 CFLAGS_BASE_DRIVER += -Wno-format-nonliteral
 CFLAGS_BASE_DRIVER += -Wno-unused-variable
+CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable
 else
 CFLAGS_BASE_DRIVER  = -Wno-sign-compare
 CFLAGS_BASE_DRIVER += -Wno-unused-value
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-15 13:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15  0:35 [PATCH 19.11 v2 1/3] net/i40e: build failure with make and clang 13 Haiyue Wang
2021-12-15  0:35 ` [PATCH 19.11 v2 2/3] net/ice: " Haiyue Wang
2021-12-15 13:37   ` Christian Ehrhardt
2021-12-15  0:35 ` [PATCH 19.11 v2 3/3] net/ixgbe: " Haiyue Wang
2021-12-15 13:34   ` Christian Ehrhardt

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).