[PATCH] nvme: make nvmf_register_transport require a create_ctrl callback
Sagi Grimberg
sagi at grimberg.me
Thu Jan 26 08:30:47 PST 2017
> static void __exit nvme_fc_exit_module(void)
> diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
> index 557f29b..80f3695 100644
> --- a/drivers/nvme/host/rdma.c
> +++ b/drivers/nvme/host/rdma.c
> @@ -2063,8 +2063,7 @@ static int __init nvme_rdma_init_module(void)
> return ret;
> }
>
> - nvmf_register_transport(&nvme_rdma_transport);
> - return 0;
> + return = nvmf_register_transport(&nvme_rdma_transport);
??
More information about the Linux-nvme
mailing list