2024-05-13 19:39:58

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH 0/4] mm: add missing MODULE_DESCRIPTION() macros

This fixes the instances of "WARNING: modpost: missing
MODULE_DESCRIPTION()" that I'm seeing in 'mm'.

Note I'm not using an "everything enabled" configuration so there may
be more left to fix.

Signed-off-by: Jeff Johnson <[email protected]>
---
Jeff Johnson (4):
mm/hwpoison: add MODULE_DESCRIPTION()
mm/dmapool: add MODULE_DESCRIPTION()
mm/kfence: add MODULE_DESCRIPTION()
mm/zsmalloc: add MODULE_DESCRIPTION()

mm/dmapool_test.c | 1 +
mm/hwpoison-inject.c | 1 +
mm/kfence/kfence_test.c | 1 +
mm/zsmalloc.c | 1 +
4 files changed, 4 insertions(+)
---
base-commit: dd5a440a31fae6e459c0d6271dddd62825505361
change-id: 20240513-mm-md-9bdb524ea9a8



2024-05-13 19:40:12

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH 2/4] mm/dmapool: add MODULE_DESCRIPTION()

Fix the 'make W=1' warning:

WARNING: modpost: missing MODULE_DESCRIPTION() in mm/dmapool_test.o

Signed-off-by: Jeff Johnson <[email protected]>
---
mm/dmapool_test.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/mm/dmapool_test.c b/mm/dmapool_test.c
index 370fb9e209ef..54b1fd1ccfbb 100644
--- a/mm/dmapool_test.c
+++ b/mm/dmapool_test.c
@@ -144,4 +144,5 @@ static void dmapool_exit(void)

module_init(dmapool_checks);
module_exit(dmapool_exit);
+MODULE_DESCRIPTION("dma_pool timing test");
MODULE_LICENSE("GPL");

--
2.42.0