mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
nvmet: add module description to stop warnings
Add MODULE_DESCRIPTION() in order to remove warnings & get clean build:- WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvme/target/nvmet.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvme/target/nvme-loop.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvme/target/nvmet-rdma.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvme/target/nvmet-fc.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvme/target/nvme-fcloop.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvme/target/nvmet-tcp.o Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
This commit is contained in:
parent
92b0b0ff0b
commit
41951f83ef
@ -1705,4 +1705,5 @@ static void __exit nvmet_exit(void)
|
||||
module_init(nvmet_init);
|
||||
module_exit(nvmet_exit);
|
||||
|
||||
MODULE_DESCRIPTION("NVMe target core framework");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -2945,4 +2945,5 @@ static void __exit nvmet_fc_exit_module(void)
|
||||
module_init(nvmet_fc_init_module);
|
||||
module_exit(nvmet_fc_exit_module);
|
||||
|
||||
MODULE_DESCRIPTION("NVMe target FC transport driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -1650,4 +1650,5 @@ static void __exit fcloop_exit(void)
|
||||
module_init(fcloop_init);
|
||||
module_exit(fcloop_exit);
|
||||
|
||||
MODULE_DESCRIPTION("NVMe target FC loop transport driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -688,5 +688,6 @@ static void __exit nvme_loop_cleanup_module(void)
|
||||
module_init(nvme_loop_init_module);
|
||||
module_exit(nvme_loop_cleanup_module);
|
||||
|
||||
MODULE_DESCRIPTION("NVMe target loop transport driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS("nvmet-transport-254"); /* 254 == NVMF_TRTYPE_LOOP */
|
||||
|
@ -2104,5 +2104,6 @@ static void __exit nvmet_rdma_exit(void)
|
||||
module_init(nvmet_rdma_init);
|
||||
module_exit(nvmet_rdma_exit);
|
||||
|
||||
MODULE_DESCRIPTION("NVMe target RDMA transport driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS("nvmet-transport-1"); /* 1 == NVMF_TRTYPE_RDMA */
|
||||
|
@ -2221,5 +2221,6 @@ static void __exit nvmet_tcp_exit(void)
|
||||
module_init(nvmet_tcp_init);
|
||||
module_exit(nvmet_tcp_exit);
|
||||
|
||||
MODULE_DESCRIPTION("NVMe target TCP transport driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS("nvmet-transport-3"); /* 3 == NVMF_TRTYPE_TCP */
|
||||
|
Loading…
Reference in New Issue
Block a user