Skip to contentSkip to conversation

ALSA: virtio: fix kernel-doc

PATCH Applied Pierre-Louis Bossart 2 participants 2 messages Apr 26, 2021 – Apr 27, 2021

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

PATCH 1/1 ALSA: virtio: fix kernel-doc

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

---
 sound/virtio/virtio_ctl_msg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/virtio/virtio_ctl_msg.c +1 -1
index 26ff7e7cc041..18dc5aca2e0c 100644
@@ -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.
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 8 lines · Pierre-Louis Bossart

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

Thanks, applied.

Takashi