2024-06-15 21:44:28

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH v2] dca: add missing MODULE_DESCRIPTION() macro

With ARCH=x86, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/dca/dca.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <[email protected]>
---
Changes in v2:
- Rebased to v6.10-rc3
- Updated commit text to use a more recent boilerplate
- Since there are no matching entries in MAINTAINERS, added Andrew & Greg
to see if this can go through one of their misc trees
- Link to v1: https://lore.kernel.org/r/[email protected]
---
drivers/dca/dca-core.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/dca/dca-core.c b/drivers/dca/dca-core.c
index ed3dac546dd6..f5cedf816be1 100644
--- a/drivers/dca/dca-core.c
+++ b/drivers/dca/dca-core.c
@@ -17,6 +17,7 @@
#define DCA_VERSION "1.12.1"

MODULE_VERSION(DCA_VERSION);
+MODULE_DESCRIPTION("Intel Direct Cache Access (DCA) service module");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Intel Corporation");


---
base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
change-id: 20240510-dca-md-38482869c4d4