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: Jeff Johnson <quic_jjohnson@quicinc.com> Link: https://patch.msgid.link/r/20240605-md-drivers-dax-v1-1-3d448f3368b4@quicinc.com Signed-off-by: Ira Weiny <ira.weiny@intel.com>
This commit is contained in:
parent
5b2480febf
commit
1d5198dd08
@ -43,6 +43,7 @@ static struct cxl_driver cxl_dax_region_driver = {
|
||||
|
||||
module_cxl_driver(cxl_dax_region_driver);
|
||||
MODULE_ALIAS_CXL(CXL_DEVICE_DAX_REGION);
|
||||
MODULE_DESCRIPTION("CXL DAX: direct access to CXL regions");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Intel Corporation");
|
||||
MODULE_IMPORT_NS(CXL);
|
||||
|
@ -482,6 +482,7 @@ static void __exit dax_exit(void)
|
||||
}
|
||||
|
||||
MODULE_AUTHOR("Intel Corporation");
|
||||
MODULE_DESCRIPTION("Device DAX: direct access device driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
module_init(dax_init);
|
||||
module_exit(dax_exit);
|
||||
|
@ -168,5 +168,6 @@ MODULE_SOFTDEP("pre: cxl_acpi");
|
||||
|
||||
MODULE_ALIAS("platform:hmem*");
|
||||
MODULE_ALIAS("platform:hmem_platform*");
|
||||
MODULE_DESCRIPTION("HMEM DAX: direct access to 'specific purpose' memory");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_AUTHOR("Intel Corporation");
|
||||
|
@ -299,6 +299,7 @@ static void __exit dax_kmem_exit(void)
|
||||
}
|
||||
|
||||
MODULE_AUTHOR("Intel Corporation");
|
||||
MODULE_DESCRIPTION("KMEM DAX: map dax-devices as System-RAM");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
module_init(dax_kmem_init);
|
||||
module_exit(dax_kmem_exit);
|
||||
|
@ -94,6 +94,7 @@ static void __exit dax_pmem_exit(void)
|
||||
}
|
||||
module_exit(dax_pmem_exit);
|
||||
|
||||
MODULE_DESCRIPTION("PMEM DAX: direct access to persistent memory");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_AUTHOR("Intel Corporation");
|
||||
MODULE_ALIAS_ND_DEVICE(ND_DEVICE_DAX_PMEM);
|
||||
|
@ -606,6 +606,7 @@ static void __exit dax_core_exit(void)
|
||||
}
|
||||
|
||||
MODULE_AUTHOR("Intel Corporation");
|
||||
MODULE_DESCRIPTION("DAX: direct access to differentiated memory");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
subsys_initcall(dax_core_init);
|
||||
module_exit(dax_core_exit);
|
||||
|
Loading…
Reference in New Issue
Block a user