* [PATCH] soundwire: fix the kernel-doc comment
@ 2020-07-15 9:57 Vinod Koul
2020-07-15 14:42 ` Pierre-Louis Bossart
0 siblings, 1 reply; 3+ messages in thread
From: Vinod Koul @ 2020-07-15 9:57 UTC (permalink / raw)
To: alsa-devel; +Cc: Vinod Koul, Sanyog Kale, Bard Liao, Pierre-Louis Bossart
sdw_startup_stream() and sdw_shutdown_stream() argument has been updated
but not the comments, so update these as well to fix warning with W=1
drivers/soundwire/stream.c:1859: warning: Function parameter or member 'sdw_substream' not described in 'sdw_startup_stream'
drivers/soundwire/stream.c:1859: warning: Excess function parameter 'stream' description in 'sdw_startup_stream'
drivers/soundwire/stream.c:1903: warning: Function parameter or member 'sdw_substream' not described in 'sdw_shutdown_stream'
drivers/soundwire/stream.c:1903: warning: Excess function parameter 'stream' description in 'sdw_shutdown_stream'
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
drivers/soundwire/stream.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c
index 6bc2ff29c202..37290a799023 100644
--- a/drivers/soundwire/stream.c
+++ b/drivers/soundwire/stream.c
@@ -1851,7 +1851,7 @@ static int set_stream(struct snd_pcm_substream *substream,
/**
* sdw_startup_stream() - Startup SoundWire stream
*
- * @stream: Soundwire stream
+ * @sdw_substream: Soundwire stream
*
* Documentation/driver-api/soundwire/stream.rst explains this API in detail
*/
@@ -1895,7 +1895,7 @@ EXPORT_SYMBOL(sdw_startup_stream);
/**
* sdw_shutdown_stream() - Shutdown SoundWire stream
*
- * @stream: Soundwire stream
+ * @sdw_substream: Soundwire stream
*
* Documentation/driver-api/soundwire/stream.rst explains this API in detail
*/
--
2.26.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] soundwire: fix the kernel-doc comment
2020-07-15 9:57 [PATCH] soundwire: fix the kernel-doc comment Vinod Koul
@ 2020-07-15 14:42 ` Pierre-Louis Bossart
2020-07-16 4:26 ` Vinod Koul
0 siblings, 1 reply; 3+ messages in thread
From: Pierre-Louis Bossart @ 2020-07-15 14:42 UTC (permalink / raw)
To: Vinod Koul, alsa-devel; +Cc: Sanyog Kale, Bard Liao
On 7/15/20 4:57 AM, Vinod Koul wrote:
> sdw_startup_stream() and sdw_shutdown_stream() argument has been updated
> but not the comments, so update these as well to fix warning with W=1
>
> drivers/soundwire/stream.c:1859: warning: Function parameter or member 'sdw_substream' not described in 'sdw_startup_stream'
> drivers/soundwire/stream.c:1859: warning: Excess function parameter 'stream' description in 'sdw_startup_stream'
> drivers/soundwire/stream.c:1903: warning: Function parameter or member 'sdw_substream' not described in 'sdw_shutdown_stream'
> drivers/soundwire/stream.c:1903: warning: Excess function parameter 'stream' description in 'sdw_shutdown_stream'
>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
After sending dozens of patches to fix those issues I added one by
accident, oh well. Thanks for fixing this.
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] soundwire: fix the kernel-doc comment
2020-07-15 14:42 ` Pierre-Louis Bossart
@ 2020-07-16 4:26 ` Vinod Koul
0 siblings, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2020-07-16 4:26 UTC (permalink / raw)
To: Pierre-Louis Bossart; +Cc: alsa-devel, Bard Liao, Sanyog Kale
On 15-07-20, 09:42, Pierre-Louis Bossart wrote:
>
>
> On 7/15/20 4:57 AM, Vinod Koul wrote:
> > sdw_startup_stream() and sdw_shutdown_stream() argument has been updated
> > but not the comments, so update these as well to fix warning with W=1
> >
> > drivers/soundwire/stream.c:1859: warning: Function parameter or member 'sdw_substream' not described in 'sdw_startup_stream'
> > drivers/soundwire/stream.c:1859: warning: Excess function parameter 'stream' description in 'sdw_startup_stream'
> > drivers/soundwire/stream.c:1903: warning: Function parameter or member 'sdw_substream' not described in 'sdw_shutdown_stream'
> > drivers/soundwire/stream.c:1903: warning: Excess function parameter 'stream' description in 'sdw_shutdown_stream'
> >
> > Signed-off-by: Vinod Koul <vkoul@kernel.org>
>
> After sending dozens of patches to fix those issues I added one by accident,
> oh well. Thanks for fixing this.
>
> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thanks applied and pushed
--
~Vinod
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-16 4:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-15 9:57 [PATCH] soundwire: fix the kernel-doc comment Vinod Koul
2020-07-15 14:42 ` Pierre-Louis Bossart
2020-07-16 4:26 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox