From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 50105A0A0C
	for <public@inbox.dpdk.org>; Thu, 20 May 2021 16:32:17 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 30B2941101;
	Thu, 20 May 2021 16:32:17 +0200 (CEST)
Received: from us-smtp-delivery-124.mimecast.com
 (us-smtp-delivery-124.mimecast.com [216.205.24.124])
 by mails.dpdk.org (Postfix) with ESMTP id 483254069B
 for <stable@dpdk.org>; Thu, 20 May 2021 16:32:16 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1621521135;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=Y3Dd1hAgHXY2e1WuzXaWMKNiquh8DgHkjIFTzCpoobk=;
 b=dbanK/fXMW3hPib9dlx3kjKxivNXmvGpWuVgg549CdwKPW3PRb0Q9tOJE1FVY2MQCpSgu0
 CnikDGbCvaGnHLFeCYv4a6q8OdC131orhhZ7agAmimQ1BCLSHiSmT3SYeKhrTxvGhCSbJR
 DkmvEJiPRvz6Zbcreitnq4uoeQmj7u8=
Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com
 [209.85.222.71]) (Using TLS) by relay.mimecast.com with ESMTP id
 us-mta-265-P2HDYd67N6qQsku99b6a5g-1; Thu, 20 May 2021 10:32:11 -0400
X-MC-Unique: P2HDYd67N6qQsku99b6a5g-1
Received: by mail-ua1-f71.google.com with SMTP id
 r4-20020ab070c40000b02902064b454facso6337535ual.6
 for <stable@dpdk.org>; Thu, 20 May 2021 07:32:11 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=Y3Dd1hAgHXY2e1WuzXaWMKNiquh8DgHkjIFTzCpoobk=;
 b=WkBa/Owb73iLIwlyYn8PbltCjxMOxdJeX7WzD8Y81mFx8QHwM0ouDWPBggtpOfV67w
 899n94gM0MLPXTDL4eNbLCbmdk1njgY3nh5WNKH2wZcbGAuXCFdfFXaqJaGpRQ/ps+tp
 AuP3NcvCYUgvUUl8L7JILVhcbTvMt9tuAfGF3apPFwsyIIpitx69B7OSnyOn/gO8l+8p
 Q/oRlbm22YD/JotvBQJvRijfD2i/eJUPi2TzZIJ8smbZLDg7l8UyII5Cc1ztlsK+ff+q
 aa1GLmCq/0QmOjr406RfNvO2R7480zv+ezSsWGw1Z30BIFvSkwqLE8qfmeitgY88O+/g
 N6xQ==
X-Gm-Message-State: AOAM532+oRayJIeuXEXdnnoOflZ+W/B4LlAv+CEzCtX/LQ2L/EOlInfc
 Q015Uw8jesWouTnzA9iGYFYzyvQeinGlPTW1nNPG2upGStcYjmAxxhL7HvVotpJLNeFaTO75cXE
 gII+8hmcdTkx7Aac7qpwiCBA=
X-Received: by 2002:a05:6102:320d:: with SMTP id
 r13mr4111906vsf.27.1621521131147; 
 Thu, 20 May 2021 07:32:11 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJxOJhpAcLoV26GWV01pDRJe0ecf5sJACZyvYdcRXknPsBICThtHGAtVWmV5lkMwwSmSPSndTvGVZ5J3PywXwx4=
X-Received: by 2002:a05:6102:320d:: with SMTP id
 r13mr4111875vsf.27.1621521130913; 
 Thu, 20 May 2021 07:32:10 -0700 (PDT)
MIME-Version: 1.0
References: <20210520110613.387358-1-ktraynor@redhat.com>
In-Reply-To: <20210520110613.387358-1-ktraynor@redhat.com>
From: David Marchand <david.marchand@redhat.com>
Date: Thu, 20 May 2021 16:31:59 +0200
Message-ID: <CAJFAV8xDYMS+kUq6nxNB8DxD6gePK5ab1cBzS+07+vMa133zmg@mail.gmail.com>
To: Kevin Traynor <ktraynor@redhat.com>
Cc: dev <dev@dpdk.org>, "Yigit, Ferruh" <ferruh.yigit@intel.com>,
 dpdk stable <stable@dpdk.org>, Ali Alnubani <alialnu@nvidia.com>
Authentication-Results: relay.mimecast.com;
 auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="UTF-8"
Subject: Re: [dpdk-stable] [PATCH] test/prefetch: fix build with GCC 11
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

On Thu, May 20, 2021 at 1:07 PM Kevin Traynor <ktraynor@redhat.com> wrote:
>
> GCC 11 complains that 'a' is uninitialized.
>
> ../dpdk/app/test/test_prefetch.c: In function 'test_prefetch':
> ../dpdk/app/test/test_prefetch.c:25:9:
> error: 'a' may be used uninitialized [-Werror=maybe-uninitialized]
>    25 |         rte_prefetch0(&a);
>       |         ^~~~~~~~~~~~~~~~~
>
> Fix by initializing 'a'.
>
> Bugzilla ID: 714
> Fixes: af75078fece3 ("first public release")
> Cc: stable@dpdk.org
>
> Reported-by: Ali Alnubani <alialnu@nvidia.com>
> Signed-off-by: Kevin Traynor <ktraynor@redhat.com>

Reviewed-by: David Marchand <david.marchand@redhat.com>

-- 
David Marchand