diff mbox series

[1/1] cdrom: Add missing MODULE_DESCRIPTION()

Message ID 20240601221816.136977-2-phil@philpotter.co.uk (mailing list archive)
State New, archived
Headers show
Series cdrom: patch for inclusion | expand

Commit Message

Phillip Potter June 1, 2024, 10:18 p.m. UTC
From: Jeff Johnson <quic_jjohnson@quicinc.com>

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cdrom/cdrom.o

Add the missing MODULE_DESCRIPTION() macro invocation.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/lkml/20240530-cdrom-v1-1-51579c5c240a@quicinc.com
Reviewed-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/lkml/ZluYQbvrJkRlhnJC@KernelVM
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
---
 drivers/cdrom/cdrom.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jens Axboe June 23, 2024, 1:37 a.m. UTC | #1
On 6/1/24 4:18 PM, Phillip Potter wrote:
> From: Jeff Johnson <quic_jjohnson@quicinc.com>
> 
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cdrom/cdrom.o
> 
> Add the missing MODULE_DESCRIPTION() macro invocation.

Applied, but change it to:

MODULE_DESCRIPTION("Uniform CD-ROM driver");

as there's really no reason to state that it's "for Linux", it's
a Linux driver after all.
Jens Axboe June 23, 2024, 1:37 a.m. UTC | #2
On Sat, 01 Jun 2024 23:18:16 +0100, Phillip Potter wrote:
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cdrom/cdrom.o
> 
> Add the missing MODULE_DESCRIPTION() macro invocation.
> 
> 

Applied, thanks!

[1/1] cdrom: Add missing MODULE_DESCRIPTION()
      commit: 85f86c5ede7697162c54744258908e657e456f57

Best regards,
diff mbox series

Patch

diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c
index 20c90ebb3a3f..b6ee9ae36653 100644
--- a/drivers/cdrom/cdrom.c
+++ b/drivers/cdrom/cdrom.c
@@ -3708,4 +3708,5 @@  static void __exit cdrom_exit(void)
 
 module_init(cdrom_init);
 module_exit(cdrom_exit);
+MODULE_DESCRIPTION("Uniform CD-ROM driver for Linux");
 MODULE_LICENSE("GPL");