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 F3334A00C3 for ; Tue, 14 Dec 2021 18:03:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EDE6140688; Tue, 14 Dec 2021 18:03:04 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 288764003C for ; Tue, 14 Dec 2021 18:03:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639501383; x=1671037383; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2vTDyU+eQfdva+j0u+u2AbHjRacZi7UZ6gkELgo5dt8=; b=V73m7iy29+dg38Cd2IyG6Dgnyio1XaUTNDS8UwGf3DU6suEGf0NnunT/ s9BT/hgczpc4j0bLQNRiMwtVmfgrCDIUyL98tE3v6rl3n57wSoK8gx/1Q oiYu0F0IZdOHbKN9sOOduIQpjrXT926fNEKxjpt4c6tagcTcn3aWff5zf AtgioJNBzyP0FAm/sb7W0nU23NmIM1I+dIWwXsaFNK70XrIbQJQJe6dnC xWCoHdos7aJ4N9k5H7hEhiM9EzoDz+rXz8VWjbUzeEmSXbmy7be72p+ZJ vi/n7b/8wPYSO7B5CN7SH1ZQR2UpR76RZS70fW1npNL005au80rk1Coc8 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10197"; a="236558503" X-IronPort-AV: E=Sophos;i="5.88,205,1635231600"; d="scan'208";a="236558503" 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:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,205,1635231600"; d="scan'208";a="682131807" 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:12 -0800 From: Haiyue Wang To: stable@dpdk.org Cc: christian.ehrhardt@canonical.com, yux.jiang@intel.com, qi.z.zhang@intel.com, Haiyue Wang , Qiming Yang , Wenzhuo Lu Subject: [PATCH 19.11 v1 3/3] net/ice: build failure with make and clang 13 Date: Wed, 15 Dec 2021 00:29:34 +0800 Message-Id: <20211214162935.368215-3-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: 902 Signed-off-by: Haiyue Wang --- drivers/net/ice/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ice/Makefile b/drivers/net/ice/Makefile index 6c4d155268..370b33af60 100644 --- a/drivers/net/ice/Makefile +++ b/drivers/net/ice/Makefile @@ -26,6 +26,7 @@ CFLAGS_BASE_DRIVER += else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y) CFLAGS_BASE_DRIVER += -Wno-unused-parameter CFLAGS_BASE_DRIVER += -Wno-unused-variable +CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable else CFLAGS_BASE_DRIVER += -Wno-unused-parameter CFLAGS_BASE_DRIVER += -Wno-unused-variable -- 2.34.1