Skip to contentSkip to conversation

ALSA: Add missing module description

PATCH In review Takashi Iwai 4 participants 13 messages May 8, 2024 – May 9, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover ALSA: Add missing module description

Hi,

here is a trivial patch series for adding the missing MODULE_DESCRIPTION() to the code that can be built as modules where make W=1 starts complaining the lack of MODULE_DESCRIPTION() since recently.

Fixes for ASoC follow later.

Takashi

===

Takashi Iwai (7):
ALSA: ac97: legacy: Add missing module description
ALSA: ac97: bus: Add missing module description
ALSA: pcm_dmaengine: Add missing module description
ALSA: kunit: Add missing module descriptions
ALSA: pcmtest: Add missing module descriptions
ALSA: hda: cirrus_scodec_test: Add missing module descriptions
sound: oss: dmasound: Add missing module descriptions

 sound/ac97/bus.c                    | 1 +
 sound/ac97_bus.c                    | 1 +
 sound/core/pcm_dmaengine.c          | 1 +
 sound/core/sound_kunit.c            | 1 +
 sound/drivers/pcmtest.c             | 1 +
 sound/oss/dmasound/dmasound_atari.c | 2 ++
 sound/oss/dmasound/dmasound_paula.c | 1 +
 sound/pci/hda/cirrus_scodec_test.c  | 1 +
 8 files changed, 9 insertions(+)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/7 ALSA: ac97: legacy: Add missing module description

Now that make W=1 starts complaining the lack of MODULE_DESCRIPTION(), let's add the missing information.

---
 sound/ac97_bus.c | 1 +
 1 file changed, 1 insertion(+)
sound/ac97_bus.c +1 -0
index 7ea274c55900..1484fc178fa4 100644
@@ -95,4 +95,5 @@ module_exit(ac97_bus_exit);
 
 EXPORT_SYMBOL(ac97_bus_type);
 
+MODULE_DESCRIPTION("Legacy AC97 bus interface");
 MODULE_LICENSE("GPL");
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/7 ALSA: ac97: bus: Add missing module description

In reply to Takashi Iwai

Now that make W=1 starts complaining the lack of MODULE_DESCRIPTION(), let's add the missing information.

---
 sound/ac97/bus.c | 1 +
 1 file changed, 1 insertion(+)
sound/ac97/bus.c +1 -0
index 5e46b972a3da..40e88d79c483 100644
@@ -551,5 +551,6 @@ static void __exit ac97_bus_exit(void)
 }
 module_exit(ac97_bus_exit);
 
+MODULE_DESCRIPTION("AC97 bus interface");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Robert Jarzmik <[email protected]>");
Signature · 1 line
2.43.0
#3 lore raw

PATCH 3/7 ALSA: pcm_dmaengine: Add missing module description

In reply to Takashi Iwai

Now that make W=1 starts complaining the lack of MODULE_DESCRIPTION(), let's add the missing information.

---
 sound/core/pcm_dmaengine.c | 1 +
 1 file changed, 1 insertion(+)
sound/core/pcm_dmaengine.c +1 -0
index 494ec0c207fa..12aa1cef11a1 100644
@@ -470,4 +470,5 @@ int snd_dmaengine_pcm_refine_runtime_hwparams(
 }
 EXPORT_SYMBOL_GPL(snd_dmaengine_pcm_refine_runtime_hwparams);
 
+MODULE_DESCRIPTION("PCM dmaengine helper APIs");
 MODULE_LICENSE("GPL");
Signature · 1 line
2.43.0
#4 lore raw

PATCH 4/7 ALSA: kunit: Add missing module descriptions

In reply to Takashi Iwai

Now that make W=1 starts complaining the lack of MODULE_DESCRIPTION(), let's add the missing information.

---
 sound/core/sound_kunit.c | 1 +
 1 file changed, 1 insertion(+)
sound/core/sound_kunit.c +1 -0
index 165bd0f5338a..bfed1a25fc8f 100644
@@ -308,5 +308,6 @@ static struct kunit_suite sound_utils_suite = {
 };
 
 kunit_test_suite(sound_utils_suite);
+MODULE_DESCRIPTION("Sound core KUnit test");
 MODULE_AUTHOR("Ivan Orlov");
 MODULE_LICENSE("GPL");
Signature · 1 line
2.43.0
#5 lore raw

PATCH 5/7 ALSA: pcmtest: Add missing module descriptions

In reply to Takashi Iwai

Now that make W=1 starts complaining the lack of MODULE_DESCRIPTION(), let's add the missing information.

---
 sound/drivers/pcmtest.c | 1 +
 1 file changed, 1 insertion(+)
sound/drivers/pcmtest.c +1 -0
index b8bff5522bce..21cefaf5419a 100644
@@ -772,6 +772,7 @@ static void __exit mod_exit(void)
 	platform_device_unregister(&pcmtst_pdev);
 }
 
+MODULE_DESCRIPTION("Virtual ALSA driver for PCM testing/fuzzing");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Ivan Orlov");
 module_init(mod_init);
Signature · 1 line
2.43.0
maintainer Acked-by on v1 5/7
#6 lore raw

Re: [PATCH 5/7] ALSA: pcmtest: Add missing module descriptions

Quoted 15 lines · Takashi Iwai

Now that make W=1 starts complaining the lack of MODULE_DESCRIPTION(), let's add the missing information.

---
  sound/drivers/pcmtest.c | 1 +
  1 file changed, 1 insertion(+)
sound/drivers/pcmtest.c +0 -0
index b8bff5522bce..21cefaf5419a 100644

sound/drivers/pcmtest.c static void __exit mod_exit(void) · line 778

Quoted 7 lines
sound/drivers/pcmtest.c +1 -0
@@ -772,6 +772,7 @@ static void __exit mod_exit(void)
  	platform_device_unregister(&pcmtst_pdev);
  }
 
+MODULE_DESCRIPTION("Virtual ALSA driver for PCM testing/fuzzing");
  MODULE_LICENSE("GPL");
  MODULE_AUTHOR("Ivan Orlov");
  module_init(mod_init);

Hi Takashi,

Thank you for doing this.

Signature · 2 lines
Kind regards,
Ivan Orlov
#7 lore raw

PATCH 6/7 ALSA: hda: cirrus_scodec_test: Add missing module descriptions

In reply to Takashi Iwai

Now that make W=1 starts complaining the lack of MODULE_DESCRIPTION(), let's add the missing information.

---
 sound/pci/hda/cirrus_scodec_test.c | 1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/cirrus_scodec_test.c +1 -0
index 8ae373676bd1..e925ebe21ccb 100644
@@ -366,5 +366,6 @@ static struct kunit_suite cirrus_scodec_test_suite = {
 kunit_test_suite(cirrus_scodec_test_suite);
 
 MODULE_IMPORT_NS(SND_HDA_CIRRUS_SCODEC);
+MODULE_DESCRIPTION("KUnit test for the Cirrus side-codec library");
 MODULE_AUTHOR("Richard Fitzgerald <[email protected]>");
 MODULE_LICENSE("GPL");
Signature · 1 line
2.43.0
#8 lore raw

PATCH 7/7 sound: oss: dmasound: Add missing module descriptions

In reply to Takashi Iwai

Now that make W=1 starts complaining the lack of MODULE_DESCRIPTION(), let's add the missing information.

---
 sound/oss/dmasound/dmasound_atari.c | 2 ++
 sound/oss/dmasound/dmasound_paula.c | 1 +
 2 files changed, 3 insertions(+)
sound/oss/dmasound/dmasound_atari.c +2 -0
index 81c6a9830727..6188469de8af 100644
@@ -1618,4 +1618,6 @@ static void __exit dmasound_atari_cleanup(void)
 
 module_init(dmasound_atari_init);
 module_exit(dmasound_atari_cleanup);
+
+MODULE_DESCRIPTION("Atari TT and Falcon DMA Sound Driver");
 MODULE_LICENSE("GPL");
sound/oss/dmasound/dmasound_paula.c +1 -0
index 3a593da09280..b8fad12f9e5f 100644
@@ -740,5 +740,6 @@ static struct platform_driver amiga_audio_driver __refdata = {
 
 module_platform_driver_probe(amiga_audio_driver, amiga_audio_probe);
 
+MODULE_DESCRIPTION("Amiga Paula DMA Sound Driver");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS("platform:amiga-audio");
Signature · 1 line
2.43.0
Reviewed-by on the v1 series
#9 lore raw
In reply to Takashi Iwai

Hello Takashi,

Quoted 6 lines · Takashi Iwai

here is a trivial patch series for adding the missing MODULE_DESCRIPTION() to the code that can be built as modules where make W=1 starts complaining the lack of MODULE_DESCRIPTION() since recently.

Fixes for ASoC follow later.

The changes are looking good to me. Thus, please add for the entire series:

Quoted 20 lines

===

Takashi Iwai (7):
ALSA: ac97: legacy: Add missing module description
ALSA: ac97: bus: Add missing module description
ALSA: pcm_dmaengine: Add missing module description
ALSA: kunit: Add missing module descriptions
ALSA: pcmtest: Add missing module descriptions
ALSA: hda: cirrus_scodec_test: Add missing module descriptions
sound: oss: dmasound: Add missing module descriptions

 sound/ac97/bus.c                    | 1 +
 sound/ac97_bus.c                    | 1 +
 sound/core/pcm_dmaengine.c          | 1 +
 sound/core/sound_kunit.c            | 1 +
 sound/drivers/pcmtest.c             | 1 +
 sound/oss/dmasound/dmasound_atari.c | 2 ++
 sound/oss/dmasound/dmasound_paula.c | 1 +
 sound/pci/hda/cirrus_scodec_test.c  | 1 +
 8 files changed, 9 insertions(+)
Reviewed-by on the v1 series
#10 lore raw
In reply to Takashi Iwai
Quoted 8 lines · Takashi Iwai

Hi,

here is a trivial patch series for adding the missing MODULE_DESCRIPTION() to the code that can be built as modules where make W=1 starts complaining the lack of MODULE_DESCRIPTION() since recently.

Fixes for ASoC follow later.

Probably Reported-by: fits better, but I'm fine with either.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#11 lore raw
Quoted 8 lines · Andy Shevchenko
Quoted 7 lines · Takashi Iwai

Hi,

here is a trivial patch series for adding the missing MODULE_DESCRIPTION() to the code that can be built as modules where make W=1 starts complaining the lack of MODULE_DESCRIPTION() since recently.

Quoted 4 lines
Quoted 1 line

Fixes for ASoC follow later.

Probably Reported-by: fits better, but I'm fine with either.

In case you decide to switch to Reported-by, replace also Link by Closes tag.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#12 lore raw
Quoted 10 lines · Andy Shevchenko
Quoted 8 lines · Andy Shevchenko
Quoted 7 lines · Takashi Iwai

Hi,

here is a trivial patch series for adding the missing MODULE_DESCRIPTION() to the code that can be built as modules where make W=1 starts complaining the lack of MODULE_DESCRIPTION() since recently.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Fixes for ASoC follow later.

Probably Reported-by: fits better, but I'm fine with either.

In case you decide to switch to Reported-by, replace also Link by Closes tag.

OK, I updated in that way and applied now.

thanks,

Takashi