]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
qlnx: Return error from qlnxr_mod_load if it fails.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 8 Apr 2022 00:01:27 +0000 (17:01 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 8 Apr 2022 00:01:27 +0000 (17:01 -0700)
commitee07d712131468908a61b948851ce17be76931ac
tree03b2b30891934483be19c220f85aa8772e71aaa6
parent885db9301ef9dfe420eff3c09aca497b7fc60924
qlnx: Return error from qlnxr_mod_load if it fails.

Fix qlnx_rdma_register_if return ENXIO rather than -1 on error and
propagate that error to the caller in qlnxr_mod_load.
sys/dev/qlnx/qlnxe/qlnx_rdma.c
sys/dev/qlnx/qlnxr/qlnxr_os.c