diff mbox series

ALSA: virtio: fix kernel-doc

Message ID 20210426213902.234711-1-pierre-louis.bossart@linux.intel.com
State Accepted
Commit e861431303d23428bf26e8496252d7bee260a956
Headers show
Series ALSA: virtio: fix kernel-doc | expand

Commit Message

Pierre-Louis Bossart April 26, 2021, 9:39 p.m. UTC
make W=1 warning:

sound/virtio/virtio_ctl_msg.c:70: warning: expecting prototype for
virtsnd_ctl_msg_request(). Prototype was for
virtsnd_ctl_msg_response() instead

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 sound/virtio/virtio_ctl_msg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Takashi Iwai April 27, 2021, 6:40 a.m. UTC | #1
On Mon, 26 Apr 2021 23:39:02 +0200,
Pierre-Louis Bossart wrote:
> 
> make W=1 warning:
> 
> sound/virtio/virtio_ctl_msg.c:70: warning: expecting prototype for
> virtsnd_ctl_msg_request(). Prototype was for
> virtsnd_ctl_msg_response() instead
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

Thanks, applied.


Takashi
diff mbox series

Patch

diff --git a/sound/virtio/virtio_ctl_msg.c b/sound/virtio/virtio_ctl_msg.c
index 26ff7e7cc041..18dc5aca2e0c 100644
--- a/sound/virtio/virtio_ctl_msg.c
+++ b/sound/virtio/virtio_ctl_msg.c
@@ -61,7 +61,7 @@  void *virtsnd_ctl_msg_request(struct virtio_snd_msg *msg)
 }
 
 /**
- * virtsnd_ctl_msg_request() - Get a pointer to the response header.
+ * virtsnd_ctl_msg_response() - Get a pointer to the response header.
  * @msg: Control message.
  *
  * Context: Any context.