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 AE01AA0A0A; Thu, 20 May 2021 16:32:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 426D240143; Thu, 20 May 2021 16:32:16 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 9E7B640041 for ; Thu, 20 May 2021 16:32:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621521133; 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=A+DirhxZNQK2J9dENxq0X0UTHNOCLdsSMZ5pFTe6jeECM2IaRGRTMIVBW9WOZmdeSekQGx UPgSoMDESma/LRDo/yi2pQbyGbgXzvr5DQmHBBBpxsPM39l+LQtMJ2fdCq4g2fchcGlkVl rWwLxGaOM/zCKmnNXlYlILACwSfjPJ4= 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-532-oQyw3VW7NpGXLCsDx0WmcQ-1; Thu, 20 May 2021 10:32:11 -0400 X-MC-Unique: oQyw3VW7NpGXLCsDx0WmcQ-1 Received: by mail-ua1-f71.google.com with SMTP id f2-20020ab006020000b02902124881cdf4so737991uaf.7 for ; 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=ivSo/9xKrqTSCwmX9U4HRs9QzZxVaGwM/8Nkl4hbS3EaIH+3v5480/rmgkxLtl8XG/ TpvXltSp1FK64INi+Fq2Rp5SCDGRz0ANaj8UwNCOXm29Spy1nzUD0ZWAVkU3tFrmWn/C e8PAMdDwV/qf30LdtWlu6fwEbR1WIhFwKxdbLrVADbPO77JuQyKVen4ziwZF4YRnl2Lb nNzPKNjrezbeSK2uRyXqlPPAuvArESV4+DHbTIW3avECf2qu6p8EvNmnQyo8Jwer8Jsu 3FIkwPcFv79FNu4ECLvBPfaOwutgeZ/rFLfgivy+gUjqtcouwHZMdWJxnjwEwUCxPfSz BTrg== X-Gm-Message-State: AOAM531969/nvq1YPnJGBXwuNuu0Z1Wj10zS3zzTAmjxgOyDj4vl6g82 DDRTZUZlrK2On5jTxadKrWxztiIS4hoy50OtfHzQc7+GkWtRAS+TabZyCGExGvUom3rE5inVD01 B3UK6Ah0u5Sg82v2O3u8= X-Received: by 2002:a05:6102:320d:: with SMTP id r13mr4111907vsf.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 Date: Thu, 20 May 2021 16:31:59 +0200 Message-ID: To: Kevin Traynor Cc: dev , "Yigit, Ferruh" , dpdk stable , Ali Alnubani 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-dev] [dpdk-stable] [PATCH] test/prefetch: fix build with GCC 11 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, May 20, 2021 at 1:07 PM Kevin Traynor 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 > Signed-off-by: Kevin Traynor Reviewed-by: David Marchand -- David Marchand