Message ID | 20210319125635.34492-10-kaike.wan@intel.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
Series | A rendezvous module | expand |
diff --git a/drivers/infiniband/ulp/rv/rv_main.c b/drivers/infiniband/ulp/rv/rv_main.c index c40ee36c6f9e..04c5a8606598 100644 --- a/drivers/infiniband/ulp/rv/rv_main.c +++ b/drivers/infiniband/ulp/rv/rv_main.c @@ -253,11 +253,16 @@ static int __init rv_init_module(void) return -EINVAL; } + if (rv_file_init()) { + ib_unregister_client(&rv_client); + return -EINVAL; + } return 0; } static void __exit rv_cleanup_module(void) { + rv_file_uninit(); ib_unregister_client(&rv_client); rv_deinit_devices(); }