2024-06-15 21:34:24

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH v2] platform/goldfish: goldfish_pipe: add missing MODULE_DESCRIPTION() macro

With arch=x86, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/platform/goldfish/goldfish_pipe.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/platform/goldfish/goldfish_pipe.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c
index 061aa9647c19..c2aab0cfab33 100644
--- a/drivers/platform/goldfish/goldfish_pipe.c
+++ b/drivers/platform/goldfish/goldfish_pipe.c
@@ -946,4 +946,5 @@ static struct platform_driver goldfish_pipe_driver = {

module_platform_driver(goldfish_pipe_driver);
MODULE_AUTHOR("David Turner <[email protected]>");
+MODULE_DESCRIPTION("Goldfish virtual device for QEMU pipes");
MODULE_LICENSE("GPL v2");

---
base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
change-id: 20240509-goldfish_pipe-md-1dec20bd3a90