Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

nvme: add missing MODULE_ALIAS for fabrics transports

The generic fabrics layer uses request_module("nvme-%s", opts->transport)
to auto-load transport modules. Currently, the nvme-tcp, nvme-rdma, and
nvme-fc modules lack MODULE_ALIAS entries for these names, which prevents
the kernel from automatically finding and loading them when requested.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Signed-off-by: Keith Busch <kbusch@kernel.org>

authored by

Geliang Tang and committed by
Keith Busch
723277b1 4606467a

+3
+1
drivers/nvme/host/fc.c
··· 3968 3968 3969 3969 MODULE_DESCRIPTION("NVMe host FC transport driver"); 3970 3970 MODULE_LICENSE("GPL v2"); 3971 + MODULE_ALIAS("nvme-fc");
+1
drivers/nvme/host/rdma.c
··· 2432 2432 2433 2433 MODULE_DESCRIPTION("NVMe host RDMA transport driver"); 2434 2434 MODULE_LICENSE("GPL v2"); 2435 + MODULE_ALIAS("nvme-rdma");
+1
drivers/nvme/host/tcp.c
··· 3071 3071 3072 3072 MODULE_DESCRIPTION("NVMe host TCP transport driver"); 3073 3073 MODULE_LICENSE("GPL v2"); 3074 + MODULE_ALIAS("nvme-tcp");