On 7/11/2023 2:48 AM, fengchengwen wrote: > On 2023/7/11 9:18, Kaiyu Zhang wrote: >> sanity check is performed after a rte_eth_dev object is allocated. >> The object is not freed if the check fails, though in the current >> reality this never happens, but it's better programming paradigm >> to move the quick check up front to the start of >> rte_eth_dev_pci_generic_probe. >> >> Signed-off-by: Kaiyu Zhang <[email protected]> >> > > Reviewed-by: Chengwen Feng <[email protected]> > Fixes: dcd5c8112bc3 ("ethdev: add PCI driver helpers") Cc: [email protected]
Reviewed-by: Ferruh Yigit <[email protected]> Applied to dpdk-next-net/main, thanks.

