Re: Re: [PATCH] bus: fix code unused

2022-05-19 Thread taoyunxi...@cmss.chinamobile.com
Hi David , Thanks for your review, see the bellows. -- taoyunxi...@cmss.chinamobile.com >On Mon, May 16, 2022 at 9:38 AM taoyunxiang > wrote: >> >> The return value of pci_plug in pci_common.c >> will always be int vaule, can not be NULL. >> We could use not

Re: Re: [PATCH] bus: fix code unused

2022-05-18 Thread David Marchand
On Tue, May 17, 2022 at 3:54 AM taoyunxi...@cmss.chinamobile.com wrote: > >> @@ -143,7 +143,7 @@ local_dev_probe(const char *devargs, struct rte_device > >> **new_dev) > >> if (ret) > >> goto err_devarg; > >> > >> - if (da->bus->plug == NULL) { > >> + if (da->b