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 661B8A034C for ; Wed, 15 Dec 2021 02:08:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EDF240041; Wed, 15 Dec 2021 02:08:31 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 797674111B for ; Wed, 15 Dec 2021 02:08:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639530509; x=1671066509; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6LolCP0nmqt9742siwylyh49/Ad4brGFdcJbHWmYkmc=; b=SuXw8PE3xHBttjY0EAhSIr6HymTW4R+RSQeX93p/+4htohmIdgv6dmGN T6vAK+jFzMzlSAPOp2cmOEvBMGIvgjgZo8bR2GiFjGdDsRHKHfp2AtTOX jpmtqaPPsWpJ/SyX4xrOy2gnkrc5Uyg3phuULOsuRgit8HVShSt1ySNWe oEOtZQBZ0fVrq0d9aWHwWlNvvVwhUFB4VRAoVClgBPzvuOG6asa8J094g fHJFU/p4UNiN8iyQgaczIOcywGzElIRZ1sSsccprHGCz/s/joi2YQWrVs 8k2nKmEyybPrtyxEgSzjUc0Am3X7joj1j0NMq9XjanfjsB96eCEdndi0O A==; X-IronPort-AV: E=McAfee;i="6200,9189,10197"; a="226398191" X-IronPort-AV: E=Sophos;i="5.88,207,1635231600"; d="scan'208";a="226398191" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2021 17:08:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,207,1635231600"; d="scan'208";a="614512343" Received: from npg-dpdk-haiyue-2.sh.intel.com ([10.67.118.240]) by orsmga004.jf.intel.com with ESMTP; 14 Dec 2021 17:08:26 -0800 From: Haiyue Wang To: stable@dpdk.org Cc: christian.ehrhardt@canonical.com, yux.jiang@intel.com, qi.z.zhang@intel.com, alialnu@nvidia.com, Haiyue Wang , Wenzhuo Lu , Konstantin Ananyev Subject: [PATCH 19.11 v2 3/3] net/ixgbe: build failure with make and clang 13 Date: Wed, 15 Dec 2021 08:35:44 +0800 Message-Id: <20211215003544.371084-3-haiyue.wang@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211215003544.371084-1-haiyue.wang@intel.com> References: <20211215003544.371084-1-haiyue.wang@intel.com> 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: 903 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