linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sound: soc: fix soc-core.c kernel-doc warning
@ 2018-09-03  2:38 Randy Dunlap
  2018-09-03 11:17 ` Mark Brown
  2018-09-03 13:47 ` Applied "ASoC: fix soc-core.c kernel-doc warning" to the asoc tree Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Randy Dunlap @ 2018-09-03  2:38 UTC (permalink / raw)
  To: LKML, moderated for non-subscribers
  Cc: Liam Girdwood, Mark Brown, Takashi Iwai

From: Randy Dunlap <rdunlap@infradead.org>

Fix kernel-doc warning:

../sound/soc/soc-core.c:2918: warning: Excess function parameter 'legacy_dai_naming' description in 'snd_soc_register_dais'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
---
 sound/soc/soc-core.c |    2 --
 1 file changed, 2 deletions(-)

--- lnx-419-rc2.orig/sound/soc/soc-core.c
+++ lnx-419-rc2/sound/soc/soc-core.c
@@ -2910,8 +2910,6 @@ static struct snd_soc_dai *soc_add_dai(s
  * @component: The component the DAIs are registered for
  * @dai_drv: DAI driver to use for the DAIs
  * @count: Number of DAIs
- * @legacy_dai_naming: Use the legacy naming scheme and let the DAI inherit the
- *                     parent's name.
  */
 static int snd_soc_register_dais(struct snd_soc_component *component,
 				 struct snd_soc_dai_driver *dai_drv, size_t count)



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

* Re: [PATCH] sound: soc: fix soc-core.c kernel-doc warning
  2018-09-03  2:38 [PATCH] sound: soc: fix soc-core.c kernel-doc warning Randy Dunlap
@ 2018-09-03 11:17 ` Mark Brown
  2018-09-03 13:47 ` Applied "ASoC: fix soc-core.c kernel-doc warning" to the asoc tree Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2018-09-03 11:17 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: LKML, moderated for non-subscribers, Liam Girdwood, Takashi Iwai

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

On Sun, Sep 02, 2018 at 07:38:10PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix kernel-doc warning:

Please submit patches using subject lines reflecting the style for the
subsystem.  This makes it easier for people to identify relevant
patches.  Look at what existing commits in the area you're changing are
doing and make sure your subject lines visually resemble what they're
doing.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Applied "ASoC: fix soc-core.c kernel-doc warning" to the asoc tree
  2018-09-03  2:38 [PATCH] sound: soc: fix soc-core.c kernel-doc warning Randy Dunlap
  2018-09-03 11:17 ` Mark Brown
@ 2018-09-03 13:47 ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2018-09-03 13:47 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Mark Brown, LKML, moderated for non-subscribers, Takashi Iwai,
	Mark Brown, Liam Girdwood, alsa-devel

The patch

   ASoC: fix soc-core.c kernel-doc warning

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 63a886f38dd96868e33488eccee8ed427144d397 Mon Sep 17 00:00:00 2001
From: Randy Dunlap <rdunlap@infradead.org>
Date: Sun, 2 Sep 2018 19:38:10 -0700
Subject: [PATCH] ASoC: fix soc-core.c kernel-doc warning

Fix kernel-doc warning:

../sound/soc/soc-core.c:2918: warning: Excess function parameter 'legacy_dai_naming' description in 'snd_soc_register_dais'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/soc-core.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 2a73630d0680..e9c2304afaf1 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -2944,8 +2944,6 @@ static struct snd_soc_dai *soc_add_dai(struct snd_soc_component *component,
  * @component: The component the DAIs are registered for
  * @dai_drv: DAI driver to use for the DAIs
  * @count: Number of DAIs
- * @legacy_dai_naming: Use the legacy naming scheme and let the DAI inherit the
- *                     parent's name.
  */
 static int snd_soc_register_dais(struct snd_soc_component *component,
 				 struct snd_soc_dai_driver *dai_drv, size_t count)
-- 
2.19.0.rc1


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

* Applied "ASoC: fix soc-core.c kernel-doc warning" to the asoc tree
  2019-12-09  4:37 [PATCH] ASoC: fix soc-core.c kernel-doc warning Randy Dunlap
@ 2019-12-09 18:59 ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2019-12-09 18:59 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: alsa-devel, Liam Girdwood, LKML, Mark Brown,
	moderated for non-subscribers

The patch

   ASoC: fix soc-core.c kernel-doc warning

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.6

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From bc9a665581b3c6c82c9220a47f6573b49ce2df0b Mon Sep 17 00:00:00 2001
From: Randy Dunlap <rdunlap@infradead.org>
Date: Sun, 8 Dec 2019 20:37:04 -0800
Subject: [PATCH] ASoC: fix soc-core.c kernel-doc warning

Fix a kernel-doc warning in soc-core.c by adding notation for
@legacy_dai_naming.

../sound/soc/soc-core.c:2509: warning: Function parameter or member 'legacy_dai_naming' not described in 'snd_soc_register_dai'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org
Link: https://lore.kernel.org/r/2215ee04-e870-5eea-a00c-9a5caf06faae@infradead.org
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/soc-core.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 062653ab03a3..1a362a799dbb 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -2498,6 +2498,8 @@ EXPORT_SYMBOL_GPL(snd_soc_unregister_dai);
  *
  * @component: The component the DAIs are registered for
  * @dai_drv: DAI driver to use for the DAI
+ * @legacy_dai_naming: if %true, use legacy single-name format;
+ * 	if %false, use multiple-name format;
  *
  * Topology can use this API to register DAIs when probing a component.
  * These DAIs's widgets will be freed in the card cleanup and the DAIs
-- 
2.20.1


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

end of thread, other threads:[~2019-12-09 18:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03  2:38 [PATCH] sound: soc: fix soc-core.c kernel-doc warning Randy Dunlap
2018-09-03 11:17 ` Mark Brown
2018-09-03 13:47 ` Applied "ASoC: fix soc-core.c kernel-doc warning" to the asoc tree Mark Brown
2019-12-09  4:37 [PATCH] ASoC: fix soc-core.c kernel-doc warning Randy Dunlap
2019-12-09 18:59 ` Applied "ASoC: fix soc-core.c kernel-doc warning" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).