Skip to contentSkip to conversation

sound: soc: Fix warning while make xmldocs caused by pcm_native.c

PATCH In review Masanari Iida 2 participants 2 messages Nov 11, 2014 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound: soc: Fix warning while make xmldocs caused by pcm_native.c

This patch fix following warning.

Warning(.//sound/core/pcm_native.c:1112): Excess function parameter 'state' description in 'snd_pcm_stop_xrun'

---
 sound/core/pcm_native.c | 1 -
 1 file changed, 1 deletion(-)
sound/core/pcm_native.c +0 -1
index a3d1221..095d957 100644
@@ -1101,7 +1101,6 @@ int snd_pcm_drain_done(struct snd_pcm_substream *substream)
 /**
  * snd_pcm_stop_xrun - stop the running streams as XRUN
  * @substream: the PCM substream instance
- * @state: PCM state after stopping the stream
  *
  * This stops the given running substream (and all linked substreams) as XRUN.
  * Unlike snd_pcm_stop(), this function takes the substream lock by itself.
Signature · 1 line
2.2.0.rc1
#1 lore raw

At Wed, 12 Nov 2014 01:13:56 +0900,

Quoted 7 lines · Masanari Iida

This patch fix following warning.

Warning(.//sound/core/pcm_native.c:1112): Excess function parameter 'state' description in 'snd_pcm_stop_xrun'

Thanks, but this was already fixed.

Takashi

Quoted 19 lines
---
 sound/core/pcm_native.c | 1 -
 1 file changed, 1 deletion(-)
sound/core/pcm_native.c +0 -1
index a3d1221..095d957 100644
@@ -1101,7 +1101,6 @@ int snd_pcm_drain_done(struct snd_pcm_substream *substream)
 /**
  * snd_pcm_stop_xrun - stop the running streams as XRUN
  * @substream: the PCM substream instance
- * @state: PCM state after stopping the stream
  *
  * This stops the given running substream (and all linked substreams) as XRUN.
  * Unlike snd_pcm_stop(), this function takes the substream lock by itself.
Signature · 1 line
2.2.0.rc1