+18
−5
Loading
If some module returned an error on init, we still try to use it. That leads to undefined behaviour. Instead, fail accel subsystem initialization. Remove failed modules from the list so that their fini() function won't be called during accel subsystem deinitialization. Signed-off-by:Alexey Marchuk <alexeymar@nvidia.com> Change-Id: I27331c45e57e1a4496be63c6b6532d667be541fb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17735 Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jacek Kalwas <jacek.kalwas@intel.com>