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 219E7A00C3 for ; Wed, 15 Dec 2021 14:40:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5D2B40041; Wed, 15 Dec 2021 14:40:53 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id DDAE440041 for ; Wed, 15 Dec 2021 14:40:52 +0100 (CET) Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id A7E0C3F1F4 for ; Wed, 15 Dec 2021 13:40:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1639575652; bh=IiJddJDcxnDzQPDWEdcsdidz3CAyHfBXu+k/hItV+1g=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Z1PyTfiaCseCPCg2cfM4RSF74NsKYq4OWeMqgCpZHJdlq/xyEwQ486GR23IUNqY24 o61B0pBfL77f5NC51DkTeFC1Q706WP3RgazTaAv/W5uNj7CveBCGbeAP0vTryMczKB yBHO4qWUatdxrYN7Uz5Y9tHeSC/Z21eCRvN/x2Dp/pOtNuXW1+jJIvCN8YypBABdBn xBfA00VsFzdr3tuDNwxZv6ByxaKj4AHVimUxzflBg/DO3rLNe3uI9h29AyPAXRVzU3 QGaCS+p3m78MtftxsNAIrJEuz3yxewvFO8iel8p6SHdV1U2SS8gmFCiSTfLUJnf9gr DmKA6NPtCIa1A== Received: by mail-qt1-f200.google.com with SMTP id p7-20020a05622a00c700b002b2f6944e7dso29853620qtw.10 for ; Wed, 15 Dec 2021 05:40:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IiJddJDcxnDzQPDWEdcsdidz3CAyHfBXu+k/hItV+1g=; b=IDxZIqJbfzhiEah08+efa0dxuLN4irSFPoXZd+M1P4vV6gOeJ8m47pjGI9srlXS/ki 7P4XqKs/+WHlHoHFqAHWdIAb+42JRZVCqSRpumUhwxxbjVoVTkryTW7No2rLaquEvTcK LJekS+DD+2uExPLG2tX/nZg1TwNtoJkMm6KU98eO/dNMQRO0hvz28Lpfb4keyOjxO2Re Wm3YBZ5wicH/hh3/iHlANoWnUTR/x0xatkWajLzD6fsu2DnsNYrdAkWeP8gVA6K3FsCq qc+JkKYroW2sXddEicwCBzakHPf0/Amp5tU6ZzKKfEFa95iOKCPGPpn4tyjh3WyWA950 G6JA== X-Gm-Message-State: AOAM532Za+MrCfd0qwG8+gVC+ILo5rjJ94iGRkjHkbxewtFPNYdJHS7s Zt1647Lq+ziYBzUiMc5m9e32NSxPRKK+2bSDGOXNrT+gzCf2tjJQPjsM7UN6eP4gBfNoUBYcf6/ XmgNwYJPzMXLq3A4ShWZKQeJB+JTjzakT9d0LXSRg X-Received: by 2002:a05:622a:1114:: with SMTP id e20mr12124619qty.427.1639575651726; Wed, 15 Dec 2021 05:40:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8uUKyEc4RQUWokxTZYGI8uQTTIXmu3ItNK/mG5m5xLrlobrXgdArxTwFf3z02Fr7zFv4CEMvwgQBtqC7W3t0= X-Received: by 2002:a05:622a:1114:: with SMTP id e20mr12124596qty.427.1639575651524; Wed, 15 Dec 2021 05:40:51 -0800 (PST) MIME-Version: 1.0 References: <20211214162935.368215-1-haiyue.wang@intel.com> <20211214162935.368215-2-haiyue.wang@intel.com> In-Reply-To: <20211214162935.368215-2-haiyue.wang@intel.com> From: Christian Ehrhardt Date: Wed, 15 Dec 2021 14:40:25 +0100 Message-ID: Subject: Re: [PATCH 19.11 v1 2/3] net/i40e: build failure with make and clang 13 To: Haiyue Wang Cc: stable@dpdk.org, yux.jiang@intel.com, qi.z.zhang@intel.com, Beilei Xing Content-Type: text/plain; charset="UTF-8" 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 On Tue, Dec 14, 2021 at 6:03 PM Haiyue Wang wrote: > > Disable the -Wunused-but-set-variable option for clang to avoid > compile warning. > > Bugzilla ID: 901 Same as I said on the other two patches of the series applies here. I'll apply all three and do some test runs checking which errors are left. Thanks! > 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 > -- Christian Ehrhardt Staff Engineer, Ubuntu Server Canonical Ltd