[dpdk-dev] [PATCH] pci: propagate exact error codes in pci_probe_all_drivers()

Thomas Monjalon thomas at monjalon.net
Mon Oct 29 01:57:15 CET 2018


26/10/2018 09:54, Darek Stojaczyk:
> In a couple of places we check its error code against -EEXIST,
> but this function returned either -1, 0, or 1.
> 
> This gets critical when hotplugging a device in secondary
> process, while the same device is already plugged in the
> primary. Failing to "hotplug" it in the primary will cause
> the secondary to fail as well.
> 
> Fixes: e9d159c3d534 ("eal: allow probing a device again")
> Cc: thomas at monjalon.net
> Cc: stable at dpdk.org

No need of Cc: stable here.

> Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk at intel.com>

Acked-by: Thomas Monjalon <thomas at monjalon.net>

Applied, thanks




More information about the dev mailing list