On Thu, Mar 10, 2022 at 7:06 AM Jiang, YuX <yux.ji...@intel.com> 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 <jer...@marvell.com> 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=1 and GCC 10.3.0. ../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_policy_validate’: ../lib/ethdev/rte_mtr_driver.h:188:10: error: ‘str’ may be used uninitialized in this function [-Werror=maybe-uninitialized] ../drivers/net/cnxk/cn10k_rx.h:149:2 error: ‘frag_ptr’ may be used uninitialized in this function Bugzilla ID: 939 Fixes: b526599020ef ("net/cnxk: fix build with GCC 12") Cc: sta...@dpdk.org Reported-by: Ferruh Yigit <ferruh.yi...@intel.com> Signed-off-by: Rakesh Kudurumalla <rkuduruma...@marvell.com> Tested-by: Daxue Gao <daxuex....@intel.com> Acked-by: Jerin Jacob <jer...@marvell.com> > > > -----Original Message----- > > From: Rakesh Kudurumalla <rkuduruma...@marvell.com> > > Sent: 2022年3月4日 22:24 > > To: Nithin Dabilpuram <ndabilpu...@marvell.com>; Kiran Kumar K > > <kirankum...@marvell.com>; Sunil Kumar Kori <sk...@marvell.com>; Satha > > Rao <skotesh...@marvell.com> > > Cc: dev@dpdk.org; jer...@marvell.com; Rakesh Kudurumalla > > <rkuduruma...@marvell.com>; sta...@dpdk.org; Yigit, Ferruh > > <ferruh.yi...@intel.com> > > Subject: [PATCH] net/cnxk: fix error when compiled for x86 > > > > fix error when compiled for x86 platform when compiled with optimization > > flag enabled > > error: ‘str’ may be used uninitialized in this function > > error: ‘frag_ptr’ may be used uninitialized in this function > > > > Bugzilla ID: 939 > > Fixes: b526599020ef ("net/cnxk: fix build with GCC 12") > > Cc: sta...@dpdk.org > > > > Reported-by: Ferruh Yigit <ferruh.yi...@intel.com> > > Signed-off-by: Rakesh Kudurumalla <rkuduruma...@marvell.com> > > ---