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 519ADA034C for ; Wed, 15 Dec 2021 02:08:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A81240041; Wed, 15 Dec 2021 02:08:26 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id BC19640041 for ; Wed, 15 Dec 2021 02:08:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639530504; x=1671066504; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=1jmQ+/1dnZDJbisCCv517G6blzhQA5jWMj+JrKJQp3c=; b=j0W5rACVAC2TlCNjBEkSgL1w8YbLOCYCYJ1X6U6L1PRsezGI6Ijyob20 wKqCKxuBQMfNnW2+ZiSb9m93wRg/r76shq+E0WvQK5EZDXDgQy3P+TezA J3WDCkPQUFP7wamdMqUhgEGzB7yx2ANaLKk4Gyu8vPm4kH2jASJiLFrub Z0fBwPOUq0O0Y9hMH3J+y0CzQER/GUnCvRFrXK3SBvt0ZTp0xWvZ4kR0f c+np3Gth9KnGVlMYbiaox5VJBWOmnClRfOR0X0K/HVA3HVwr7cvyETZL3 lAbSQTmZEmYZwtfzexplnXhQshV5xSGgIl0e5LzAMqXS5+dofJxYoyWdy Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10197"; a="226398183" X-IronPort-AV: E=Sophos;i="5.88,207,1635231600"; d="scan'208";a="226398183" 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:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,207,1635231600"; d="scan'208";a="614512307" 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:21 -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 , Beilei Xing Subject: [PATCH 19.11 v2 1/3] net/i40e: build failure with make and clang 13 Date: Wed, 15 Dec 2021 08:35:42 +0800 Message-Id: <20211215003544.371084-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: 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