[PATCH] net/cnxk: fix error when compiled for x86

Gao, DaxueX daxuex.gao at intel.com
Mon Mar 7 07:51:45 CET 2022


> -----Original Message-----
> From: Rakesh Kudurumalla <rkudurumalla at marvell.com>
> Sent: 2022年3月4日 22:24
> To: Nithin Dabilpuram <ndabilpuram at marvell.com>; Kiran Kumar K
> <kirankumark at marvell.com>; Sunil Kumar Kori <skori at marvell.com>; Satha
> Rao <skoteshwar at marvell.com>
> Cc: dev at dpdk.org; jerinj at marvell.com; Rakesh Kudurumalla
> <rkudurumalla at marvell.com>; stable at dpdk.org; Yigit, Ferruh
> <ferruh.yigit at 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: stable at dpdk.org
> 
> Reported-by: Ferruh Yigit <ferruh.yigit at intel.com>
> Signed-off-by: Rakesh Kudurumalla <rkudurumalla at marvell.com>
> ---

Tested-by: Daxue Gao <daxuex.gao at intel.com>


More information about the stable mailing list