Skip to content

Commit 1d5198d

Browse files
Jeff Johnsonweiny2
authored andcommitted
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>
1 parent 5b2480f commit 1d5198d

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

drivers/dax/cxl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ static struct cxl_driver cxl_dax_region_driver = {
4343

4444
module_cxl_driver(cxl_dax_region_driver);
4545
MODULE_ALIAS_CXL(CXL_DEVICE_DAX_REGION);
46+
MODULE_DESCRIPTION("CXL DAX: direct access to CXL regions");
4647
MODULE_LICENSE("GPL");
4748
MODULE_AUTHOR("Intel Corporation");
4849
MODULE_IMPORT_NS(CXL);

drivers/dax/device.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ static void __exit dax_exit(void)
482482
}
483483

484484
MODULE_AUTHOR("Intel Corporation");
485+
MODULE_DESCRIPTION("Device DAX: direct access device driver");
485486
MODULE_LICENSE("GPL v2");
486487
module_init(dax_init);
487488
module_exit(dax_exit);

drivers/dax/hmem/hmem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,6 @@ MODULE_SOFTDEP("pre: cxl_acpi");
168168

169169
MODULE_ALIAS("platform:hmem*");
170170
MODULE_ALIAS("platform:hmem_platform*");
171+
MODULE_DESCRIPTION("HMEM DAX: direct access to 'specific purpose' memory");
171172
MODULE_LICENSE("GPL v2");
172173
MODULE_AUTHOR("Intel Corporation");

drivers/dax/kmem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ static void __exit dax_kmem_exit(void)
299299
}
300300

301301
MODULE_AUTHOR("Intel Corporation");
302+
MODULE_DESCRIPTION("KMEM DAX: map dax-devices as System-RAM");
302303
MODULE_LICENSE("GPL v2");
303304
module_init(dax_kmem_init);
304305
module_exit(dax_kmem_exit);

drivers/dax/pmem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ static void __exit dax_pmem_exit(void)
9494
}
9595
module_exit(dax_pmem_exit);
9696

97+
MODULE_DESCRIPTION("PMEM DAX: direct access to persistent memory");
9798
MODULE_LICENSE("GPL v2");
9899
MODULE_AUTHOR("Intel Corporation");
99100
MODULE_ALIAS_ND_DEVICE(ND_DEVICE_DAX_PMEM);

drivers/dax/super.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@ static void __exit dax_core_exit(void)
606606
}
607607

608608
MODULE_AUTHOR("Intel Corporation");
609+
MODULE_DESCRIPTION("DAX: direct access to differentiated memory");
609610
MODULE_LICENSE("GPL v2");
610611
subsys_initcall(dax_core_init);
611612
module_exit(dax_core_exit);

0 commit comments

Comments
 (0)