Linux block layer
 help / color / mirror / Atom feed
* [PATCH 0/1] cdrom: patch for inclusion
@ 2024-06-01 22:18 Phillip Potter
  2024-06-01 22:18 ` [PATCH 1/1] cdrom: Add missing MODULE_DESCRIPTION() Phillip Potter
  0 siblings, 1 reply; 4+ messages in thread
From: Phillip Potter @ 2024-06-01 22:18 UTC (permalink / raw)
  To: axboe; +Cc: linux-block

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(+)

-- 
2.45.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] cdrom: Add missing MODULE_DESCRIPTION()
  2024-06-01 22:18 [PATCH 0/1] cdrom: patch for inclusion Phillip Potter
@ 2024-06-01 22:18 ` Phillip Potter
  2024-06-23  1:37   ` Jens Axboe
  2024-06-23  1:37   ` Jens Axboe
  0 siblings, 2 replies; 4+ messages in thread
From: Phillip Potter @ 2024-06-01 22:18 UTC (permalink / raw)
  To: axboe; +Cc: linux-block

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(+)

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");
-- 
2.45.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] cdrom: Add missing MODULE_DESCRIPTION()
  2024-06-01 22:18 ` [PATCH 1/1] cdrom: Add missing MODULE_DESCRIPTION() Phillip Potter
@ 2024-06-23  1:37   ` Jens Axboe
  2024-06-23  1:37   ` Jens Axboe
  1 sibling, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2024-06-23  1:37 UTC (permalink / raw)
  To: Phillip Potter; +Cc: linux-block

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] cdrom: Add missing MODULE_DESCRIPTION()
  2024-06-01 22:18 ` [PATCH 1/1] cdrom: Add missing MODULE_DESCRIPTION() Phillip Potter
  2024-06-23  1:37   ` Jens Axboe
@ 2024-06-23  1:37   ` Jens Axboe
  1 sibling, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2024-06-23  1:37 UTC (permalink / raw)
  To: Phillip Potter; +Cc: linux-block


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,
-- 
Jens Axboe




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-23  1:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-01 22:18 [PATCH 0/1] cdrom: patch for inclusion Phillip Potter
2024-06-01 22:18 ` [PATCH 1/1] cdrom: Add missing MODULE_DESCRIPTION() Phillip Potter
2024-06-23  1:37   ` Jens Axboe
2024-06-23  1:37   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox