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 79C37A00BE for ; Thu, 10 Mar 2022 09:49:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6999D41144; Thu, 10 Mar 2022 09:49:12 +0100 (CET) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by mails.dpdk.org (Postfix) with ESMTP id 3D7DB410FC; Thu, 10 Mar 2022 09:49:10 +0100 (CET) Received: by mail-io1-f42.google.com with SMTP id z7so5690659iom.1; Thu, 10 Mar 2022 00:49:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=S58LSZHnJ+ti1/x6sfy0nnfW8CSNv8pqyxj/o/gy3Lc=; b=RM5YW5vxotsjCQaS/yEqZyQXtYH4R2Hl8NtuzWaL69u8Yj5h1MsLyd+M5vR8KjjIop EIJZVwacxRcniJP+ZBEJLV1XhopPWU6xRepOd8ADCB+9XCug77rtxOL+h803S45xDLah eGwtCAbSJg7/nDJV+qxEGVod3lzDxsm9qJe7LbtKzwQLGKvBCjuo9H8LZuwNtGi+pyoT aXfwhjRPNTzcVqw+ZAaq/nHPHdcDn08qtJCZI4dp00o+rKaa4nbTeq7veP8ZRmV1DRDU tz26qXmj7LOUEitdFbNU4jbHHZC14fW5LMQODg0UVEoTfGVc6uLypXhuT7q6A5BqbgEG 1aSg== 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:content-transfer-encoding; bh=S58LSZHnJ+ti1/x6sfy0nnfW8CSNv8pqyxj/o/gy3Lc=; b=5J7KtdAp8ek6OePw9gcnn+h0tNIfrlJsQdri44v6Nv+cm2iATf836uzRoE9rr0JIFz 1yrD7VYaQzjfMWksHvpQcg/f4HJFak2ZAaRM2nLBhaDJXv3kCZmD1rYfaPD3ZL6eNXz3 HThXFThEOTJSlyUIppkYCkU//Qew84RV0gXFi36LLc90BdfJGhQETD7SyWOO57GfO5e0 HTc5K19L+fpReBQaPBTsJ7p6JWWog1aILIjnl27QaxyI6M24Cpc/oTEHg8AYjQ+xeIK9 B0A3rzVCbzQF37vChxtPcH/VHoKzI7OJzuVEKhAYTW0JKNTX55U2pqLKMQZnHxh9UcbD /QwQ== X-Gm-Message-State: AOAM5339Y2K3FqlmPJRMIFb8zmTgTFKad8XN0wL+qj0TdQW0FlaMEMuW DVE9bBCiMwbnqf5y5r7x4njsP6Tx6Xe0JGuywus= X-Google-Smtp-Source: ABdhPJwJxN4S+fsKuDB9cbbNsmS7vrt4D/zmfA1i1J57AqHqa1lHPGA0dBr78D2XnXCaio8zz0Jv6mmKVggkYFOw9Is= X-Received: by 2002:a05:6602:185a:b0:645:d914:35e9 with SMTP id d26-20020a056602185a00b00645d91435e9mr3037036ioi.154.1646902149613; Thu, 10 Mar 2022 00:49:09 -0800 (PST) MIME-Version: 1.0 References: <20220304142337.911828-1-rkudurumalla@marvell.com> In-Reply-To: From: Jerin Jacob Date: Thu, 10 Mar 2022 14:18:43 +0530 Message-ID: Subject: Re: [PATCH] net/cnxk: fix error when compiled for x86 To: "Jiang, YuX" Cc: Rakesh Kudurumalla , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , "dev@dpdk.org" , "jerinj@marvell.com" , "stable@dpdk.org" , "Yigit, Ferruh" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Thu, Mar 10, 2022 at 7:06 AM Jiang, YuX wrote: > > Hi maintainers, > > Who can give acked-by for this patch? > May I know this patch can be merged into 22.03 or not? Acked-by: Jerin Jacob Updated the git commit as follows and applied to dpdk-next-net-mrvl/for-next-net. Thanks net/cnxk: fix build error with optimization Fix the following build error seen with --optimization=3D1 and GCC 10.3.0. ../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function =E2=80=98cnxk_nix_mtr_policy_validate=E2=80=99: ../lib/ethdev/rte_mtr_driver.h:188:10: error: =E2=80=98str=E2=80=99 may= be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] ../drivers/net/cnxk/cn10k_rx.h:149:2 error: =E2=80=98frag_ptr=E2=80=99 = may be used uninitialized in this function Bugzilla ID: 939 Fixes: b526599020ef ("net/cnxk: fix build with GCC 12") Cc: stable@dpdk.org Reported-by: Ferruh Yigit Signed-off-by: Rakesh Kudurumalla Tested-by: Daxue Gao Acked-by: Jerin Jacob > > > -----Original Message----- > > From: Rakesh Kudurumalla > > Sent: 2022=E5=B9=B43=E6=9C=884=E6=97=A5 22:24 > > To: Nithin Dabilpuram ; Kiran Kumar K > > ; Sunil Kumar Kori ; Satha > > Rao > > Cc: dev@dpdk.org; jerinj@marvell.com; Rakesh Kudurumalla > > ; stable@dpdk.org; Yigit, Ferruh > > > > Subject: [PATCH] net/cnxk: fix error when compiled for x86 > > > > fix error when compiled for x86 platform when compiled with optimizatio= n > > flag enabled > > error: =E2=80=98str=E2=80=99 may be used uninitialized in this function > > error: =E2=80=98frag_ptr=E2=80=99 may be used uninitialized in this fun= ction > > > > Bugzilla ID: 939 > > Fixes: b526599020ef ("net/cnxk: fix build with GCC 12") > > Cc: stable@dpdk.org > > > > Reported-by: Ferruh Yigit > > Signed-off-by: Rakesh Kudurumalla > > ---