Re: [PATCH] bus/ifpga: remove useless check while browsing devices

2022-01-19 Thread Thomas Monjalon
> > reported by code analysis tool C++test (version 10.4): > > > > > /build/dpdk-20.11/drivers/bus/ifpga/ifpga_bus.c > > > 67Condition "afu_dev" is always evaluated to true > > > 81Condition "afu_dev" is always evaluated to true > > > > The "for" loop already checks that afu_dev is not NU

RE: [PATCH] bus/ifpga: remove useless check while browsing devices

2022-01-13 Thread Xu, Rosen
Hi, Thanks. > -Original Message- > From: Maxime Gouin > Sent: Wednesday, January 05, 2022 18:27 > To: dev@dpdk.org > Cc: Maxime Gouin ; Xu, Rosen > ; Zhang, Qi Z ; Zhang, Tianfei > ; Olivier Matz > Subject: [PATCH] bus/ifpga: remove useless check while browsing devices > > reported by

Re: [PATCH] bus/ifpga: remove useless check while browsing devices

2022-01-11 Thread Kevin Traynor
On 05/01/2022 10:26, Maxime Gouin wrote: reported by code analysis tool C++test (version 10.4): /build/dpdk-20.11/drivers/bus/ifpga/ifpga_bus.c 67Condition "afu_dev" is always evaluated to true 81Condition "afu_dev" is always evaluated to true The "for" loop already checks that afu_de