[PATCH] nvme: make nvmf_register_transport require a create_ctrl callback

Johannes Thumshirn jthumshirn at suse.de
Fri Jan 27 00:00:08 PST 2017


On Thu, Jan 26, 2017 at 06:30:47PM +0200, Sagi Grimberg wrote:
> 
> > 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);

Gah typo and I had only fc enabled in my .config.

Sorry.

-- 
Johannes Thumshirn                                          Storage
jthumshirn at suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850



More information about the Linux-nvme mailing list