Skip to contentSkip to conversation

cdrom: patch for inclusion

PATCH Applied Phillip Potter 2 participants 4 messages Jun 1, 2024 – Jun 23, 2024

Subsystems (2)
lore
Share & tools
lore

Phillip Potter

author maintainer
#0 lore raw

cover cdrom: patch for inclusion

Hi Jens,

Please apply the following patch from Jeff Johnson, that adds a missing MODULE_DESCRIPTION() invocation to drivers/cdrom/cdrom.c, to prevent a build warning regarding its absence.

Many thanks in advance.

Regards,
Phil

Jeff Johnson (1):
cdrom: Add missing MODULE_DESCRIPTION()

 drivers/cdrom/cdrom.c | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.45.1
author maintainer
#1 lore raw

PATCH 1/1 cdrom: Add missing MODULE_DESCRIPTION()

From: Jeff Johnson <[email protected]>

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.

---
 drivers/cdrom/cdrom.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cdrom/cdrom.c +1 -0
index 20c90ebb3a3f..b6ee9ae36653 100644
@@ -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");
Signature · 1 line
2.45.1
maintainer Applied
#2 lore raw

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

Quoted 6 lines · Phillip Potter

From: Jeff Johnson <[email protected]>

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.

Signature · 1 line
Jens Axboe
maintainer Applied
#3 lore raw

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

In reply to Phillip Potter
Quoted 6 lines · Phillip Potter

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,

Signature · 1 line
Jens Axboe