]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nvme: add missing MODULE_ALIAS for fabrics transports
authorGeliang Tang <tanggeliang@kylinos.cn>
Tue, 31 Mar 2026 08:17:31 +0000 (16:17 +0800)
committerKeith Busch <kbusch@kernel.org>
Wed, 8 Apr 2026 15:12:45 +0000 (08:12 -0700)
commit723277b15ed97185ce6f75abbf19f06e00f0a6f5
tree8219a677f7624d022e22c05af5a6c7b97d47e5f0
parent4606467a75cfc16721937272ed29462a750b60c8
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>
drivers/nvme/host/fc.c
drivers/nvme/host/rdma.c
drivers/nvme/host/tcp.c