pci: fix probing error if no driver found
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 4 Aug 2016 11:50:06 +0000 (14:50 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Nov 2016 13:50:47 +0000 (14:50 +0100)
commit25c62ca4eb0cb4bae0db9628ef343f246cc11820
treeacf6c4f7cc1f73aedadbca96ea0833f9ff501642
parentd82eeefe7ac83a28eab08e5c8705f76a6be12095
pci: fix probing error if no driver found

The rte_eal_pci_probe_one function could return false positive result if
no driver is found for the device.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/common/eal_common_pci.c