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 B29B2A00C3 for ; Tue, 14 Dec 2021 18:03:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A23340041; Tue, 14 Dec 2021 18:03:02 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 586614003C for ; Tue, 14 Dec 2021 18:03:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639501381; x=1671037381; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2zguSyXh+dArOl2sZ0MDp2LwMiAPRLnTDWDb1KvH70k=; b=OomMpPwiXcy4ckh4nA9PxUDibnLTYs7H3myCVdiTfqsceo1KLYBd9b/0 CDCMDhijZSMW8XW+2WryI4gHemcxx6T/fPuiv4RcAYNiHMGyrkU+oQYC4 cfRC7Z8LL/Vnk1nQJnx9XUzrmNF3DCIqIq4vA3U+F867Dy9Jdzf3Na1xR eYmoPi+azggP8XKwrgsbmqCQcVcsUPR1HKez4s1x3gh5mkde9kwbi18Sd xf7rGKgzxp2uQaUR1W8Tpbi8Dt+VXhMFUSs31M4ETU0ZYQkkAVSPkqG2P 0rms8XuX3HOYb7kE08j1SRKZrbTefLf1xqJe4MpsHEdBBZYZCuPmIqjEq w==; X-IronPort-AV: E=McAfee;i="6200,9189,10197"; a="236558476" X-IronPort-AV: E=Sophos;i="5.88,205,1635231600"; d="scan'208";a="236558476" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2021 09:02:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,205,1635231600"; d="scan'208";a="682131764" Received: from npg-dpdk-haiyue-2.sh.intel.com ([10.67.118.240]) by orsmga005.jf.intel.com with ESMTP; 14 Dec 2021 09:02:08 -0800 From: Haiyue Wang To: stable@dpdk.org Cc: christian.ehrhardt@canonical.com, yux.jiang@intel.com, qi.z.zhang@intel.com, Haiyue Wang , Wenzhuo Lu , Konstantin Ananyev Subject: [PATCH 19.11 v1 1/3] net/ixgbe: build failure with make and clang 13 Date: Wed, 15 Dec 2021 00:29:32 +0800 Message-Id: <20211214162935.368215-1-haiyue.wang@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Disable the -Wunused-but-set-variable option for clang to avoid compile warning. Bugzilla ID: 900 Signed-off-by: Haiyue Wang --- drivers/net/ixgbe/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ixgbe/Makefile b/drivers/net/ixgbe/Makefile index 31523025b3..31a418a2c6 100644 --- a/drivers/net/ixgbe/Makefile +++ b/drivers/net/ixgbe/Makefile @@ -29,6 +29,7 @@ else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y) # CFLAGS_BASE_DRIVER = -Wno-unused-parameter -Wno-unused-value CFLAGS_BASE_DRIVER += -Wno-strict-aliasing -Wno-format-extra-args +CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable else # -- 2.34.1