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 <squirrel.p...@gmail.com>
>> 
> 
> Reviewed-by: Chengwen Feng <fengcheng...@huawei.com>
> 
    Fixes: dcd5c8112bc3 ("ethdev: add PCI driver helpers")
    Cc: sta...@dpdk.org

Reviewed-by: Ferruh Yigit <ferruh.yi...@amd.com>

Applied to dpdk-next-net/main, thanks.

Reply via email to