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 49F6FA034C for ; Wed, 15 Dec 2021 02:08:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FDC240041; Wed, 15 Dec 2021 02:08:28 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id D2F18410D5 for ; Wed, 15 Dec 2021 02:08:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639530507; x=1671066507; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2vTDyU+eQfdva+j0u+u2AbHjRacZi7UZ6gkELgo5dt8=; b=YDRnPD7efOVOQd0rO3fQO7Bs69JDL9H53cgWgIQVd8LXhQP+JjdXQtOP ob2uo6bPMyjXLF273nG/ONhJ7zydVihmrOuSuRFsuBxMA3AIWxv+orE08 52Vi14RmMqM1ix3nDhA+ve07UpshstQBNCPz0FNB+z4aAkENmpvPexHRC j1G9TZKzH15r1nr0ECLLgJVU44eHvZp+65Rl8S5p3AB8eYCDgg77B1Z+s +3fQ2lHQuiL9NyYxXADcViQMIc7StILyDIoRJeCLWU7pNQZK3jnysXMVN /skIZJt0IoOKFnfZUCj48ibpUQJrXud4P/T2rvTAZdF+W8buibFUd5Ab+ A==; X-IronPort-AV: E=McAfee;i="6200,9189,10197"; a="226398186" X-IronPort-AV: E=Sophos;i="5.88,207,1635231600"; d="scan'208";a="226398186" 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:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,207,1635231600"; d="scan'208";a="614512326" 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:24 -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 , Qiming Yang , Wenzhuo Lu Subject: [PATCH 19.11 v2 2/3] net/ice: build failure with make and clang 13 Date: Wed, 15 Dec 2021 08:35:43 +0800 Message-Id: <20211215003544.371084-2-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: 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