net/failsafe: fix failsafe bus uninit return value
authorRaslan Darawsheh <rasland@mellanox.com>
Tue, 29 Aug 2017 09:08:08 +0000 (12:08 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commit6969a22bf6ee18d8f34990688194aef4bad3a19c
tree3ea5f3ad9233c6f9224c1ab90e830e20ba1ecf05
parentcfd662d22e7bddb4ba41dbd1384f8497f38c2b4e
net/failsafe: fix failsafe bus uninit return value

fs_bus_uninit is always returning 0 no matter what was the status
of each sub device bus_uninit value.

Fixes: a46f8d584eb8 ("net/failsafe: add fail-safe PMD")
Cc: stable@dpdk.org
Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
drivers/net/failsafe/failsafe_eal.c