Re: [dpdk-stable] [PATCH] dev: fix dev_attach proceeding with vdev on success
From: Thomas Monjalon <hidden> Date: 2017-07-31 07:46:39
26/07/2017 13:52, Gaetan Rivet:
When rte_eal_hotplug_add() successfully probe a device, the return value
is zero. The check afterward only returns on error different from
-EINVAL. It should return also on success, as there is no need to
attempt probing the device with vdev.
Fixes: 0bba9e605048 ("eal: use new hotplug API in attach")
Cc: stable@dpdk.org
Cc: Jan Blunck <redacted>
Signed-off-by: Gaetan Rivet <redacted>