Re: [PATCH v1] raw/ifpga: initialize variable to avoid compile error

2022-03-16 Thread Thomas Monjalon
16/03/2022 10:40, Thomas Monjalon: > 16/03/2022 10:27, Gao, DaxueX: > > From: Wei Huang > > > > > > Compile failed with cflag optimization=1 on Ubuntu20.04 with GCC10.3, it > > > reported vendor_id and dev_id may be used uninitialized in function > > > ifpga_rawdev_fill_info(). > > > Actually it'

Re: [PATCH v1] raw/ifpga: initialize variable to avoid compile error

2022-03-16 Thread Thomas Monjalon
16/03/2022 10:27, Gao, DaxueX: > From: Wei Huang > > > > Compile failed with cflag optimization=1 on Ubuntu20.04 with GCC10.3, it > > reported vendor_id and dev_id may be used uninitialized in function > > ifpga_rawdev_fill_info(). > > Actually it's not the truth, the variables are initialized in

RE: [PATCH v1] raw/ifpga: initialize variable to avoid compile error

2022-03-16 Thread Gao, DaxueX
> -Original Message- > From: Wei Huang > Sent: 2022年3月16日 15:27 > To: dev@dpdk.org; tho...@monjalon.net; Xu, Rosen ; > nipun.gu...@nxp.com; hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Zhang, Tianfei ; Zhang, Qi Z > ; Yigit, Ferruh ; Huang, Wei > > Subject: [PATCH v1] raw/ifpga: initia