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 DA50BA00C3 for ; Tue, 14 Dec 2021 18:03:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A61A2406A2; Tue, 14 Dec 2021 18:03:03 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 43FB54003C 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=1639501382; x=1671037382; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1jmQ+/1dnZDJbisCCv517G6blzhQA5jWMj+JrKJQp3c=; b=YrEwgbuzhO0RfmiVJ02uKEIARl4XFGjOMI9plzP67iyv78nUc+6n46yS aWbQa+PKFW5xrOZhhUwP6paYY1y+bvc8CxtsxSczZ+DZunGRvdo5EHps6 e/p4ypya/UrieMF3W8UNnWRPFQEG/LCosg/8bZvZgYaYfIOWKJl+UH2hR 3PG8pUzVp5/cp7pWFTRHPmu8+F8pnTlpGZCgdzjk9/IuCYIJlOZY6j9qc B2z8QewBzHIasFZJxBNI5xCfWvckMM3KEOmcRks0txe6VwGgGUoBkDvxl 38kZPBFLQBuvtQjG2c2BtHe7PKcPaNk0JhTrzTJE8TEob6jPKfmu4Fls5 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10197"; a="236558489" X-IronPort-AV: E=Sophos;i="5.88,205,1635231600"; d="scan'208";a="236558489" 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:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,205,1635231600"; d="scan'208";a="682131780" 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:10 -0800 From: Haiyue Wang To: stable@dpdk.org Cc: christian.ehrhardt@canonical.com, yux.jiang@intel.com, qi.z.zhang@intel.com, Haiyue Wang , Beilei Xing Subject: [PATCH 19.11 v1 2/3] net/i40e: build failure with make and clang 13 Date: Wed, 15 Dec 2021 00:29:33 +0800 Message-Id: <20211214162935.368215-2-haiyue.wang@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211214162935.368215-1-haiyue.wang@intel.com> References: <20211214162935.368215-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: 901 Signed-off-by: Haiyue Wang --- 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