mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
91b01061fe
Despite failure in ipoib_dev_init() we continue with initialization flow
and creation of child device. It causes to the situation where this child
device is added too early to parent device list.
Change the logic, so in case of failure we properly return error from
ipoib_dev_init() and add child only in success path.
Fixes:
|
||
---|---|---|
.. | ||
ipoib | ||
iser | ||
isert | ||
opa_vnic | ||
srp | ||
srpt | ||
Makefile |