On Tue, 11 Jul 2023 01:18:09 +0000 Kaiyu Zhang <squirrel.p...@gmail.com> 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 <squirrel.p...@gmail.com> The term sanity check is on the non-inclusive naming word list. Please don't use that term in DPDK. There is an outstanding patchset to remove all use of the term.