Commit 1d5198dd authored by Jeff Johnson's avatar Jeff Johnson Committed by Ira Weiny

dax: add missing MODULE_DESCRIPTION() macros

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/dax/hmem/dax_hmem.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/dax/device_dax.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/dax/kmem.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/dax/dax_pmem.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/dax/dax_cxl.o

Add all missing invocations of the MODULE_DESCRIPTION() macro.

[iweiny: edit descriptions]
Signed-off-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Link: https://patch.msgid.link/r/20240605-md-drivers-dax-v1-1-3d448f3368b4@quicinc.comSigned-off-by: default avatarIra Weiny <ira.weiny@intel.com>
parent 5b2480fe
...@@ -43,6 +43,7 @@ static struct cxl_driver cxl_dax_region_driver = { ...@@ -43,6 +43,7 @@ static struct cxl_driver cxl_dax_region_driver = {
module_cxl_driver(cxl_dax_region_driver); module_cxl_driver(cxl_dax_region_driver);
MODULE_ALIAS_CXL(CXL_DEVICE_DAX_REGION); MODULE_ALIAS_CXL(CXL_DEVICE_DAX_REGION);
MODULE_DESCRIPTION("CXL DAX: direct access to CXL regions");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_AUTHOR("Intel Corporation"); MODULE_AUTHOR("Intel Corporation");
MODULE_IMPORT_NS(CXL); MODULE_IMPORT_NS(CXL);
...@@ -482,6 +482,7 @@ static void __exit dax_exit(void) ...@@ -482,6 +482,7 @@ static void __exit dax_exit(void)
} }
MODULE_AUTHOR("Intel Corporation"); MODULE_AUTHOR("Intel Corporation");
MODULE_DESCRIPTION("Device DAX: direct access device driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
module_init(dax_init); module_init(dax_init);
module_exit(dax_exit); module_exit(dax_exit);
......
...@@ -168,5 +168,6 @@ MODULE_SOFTDEP("pre: cxl_acpi"); ...@@ -168,5 +168,6 @@ MODULE_SOFTDEP("pre: cxl_acpi");
MODULE_ALIAS("platform:hmem*"); MODULE_ALIAS("platform:hmem*");
MODULE_ALIAS("platform:hmem_platform*"); MODULE_ALIAS("platform:hmem_platform*");
MODULE_DESCRIPTION("HMEM DAX: direct access to 'specific purpose' memory");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Intel Corporation"); MODULE_AUTHOR("Intel Corporation");
...@@ -299,6 +299,7 @@ static void __exit dax_kmem_exit(void) ...@@ -299,6 +299,7 @@ static void __exit dax_kmem_exit(void)
} }
MODULE_AUTHOR("Intel Corporation"); MODULE_AUTHOR("Intel Corporation");
MODULE_DESCRIPTION("KMEM DAX: map dax-devices as System-RAM");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
module_init(dax_kmem_init); module_init(dax_kmem_init);
module_exit(dax_kmem_exit); module_exit(dax_kmem_exit);
......
...@@ -94,6 +94,7 @@ static void __exit dax_pmem_exit(void) ...@@ -94,6 +94,7 @@ static void __exit dax_pmem_exit(void)
} }
module_exit(dax_pmem_exit); module_exit(dax_pmem_exit);
MODULE_DESCRIPTION("PMEM DAX: direct access to persistent memory");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Intel Corporation"); MODULE_AUTHOR("Intel Corporation");
MODULE_ALIAS_ND_DEVICE(ND_DEVICE_DAX_PMEM); MODULE_ALIAS_ND_DEVICE(ND_DEVICE_DAX_PMEM);
...@@ -606,6 +606,7 @@ static void __exit dax_core_exit(void) ...@@ -606,6 +606,7 @@ static void __exit dax_core_exit(void)
} }
MODULE_AUTHOR("Intel Corporation"); MODULE_AUTHOR("Intel Corporation");
MODULE_DESCRIPTION("DAX: direct access to differentiated memory");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
subsys_initcall(dax_core_init); subsys_initcall(dax_core_init);
module_exit(dax_core_exit); module_exit(dax_core_exit);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment