Skip to contentSkip to conversation

sound: virtio: correct the function name in kernel-doc comment

PATCH In review Randy Dunlap 3 participants 3 messages Apr 15, 2021 – May 3, 2021

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

PATCH 1/1 sound: virtio: correct the function name in kernel-doc comment

Fix kernel-doc warning that the wrong function name is used in a kernel-doc comment:

../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
@@ -61,7 +61,7 @@ void *virtsnd_ctl_msg_request(struct vir
 }
 
 /**
- * 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.
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Randy Dunlap

Fix kernel-doc warning that the wrong function name is used in a kernel-doc comment:

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

Thanks for fixing the copy/paste mistake. :)

Quoted 16 lines
---
  sound/virtio/virtio_ctl_msg.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
sound/virtio/virtio_ctl_msg.c +1 -1
@@ -61,7 +61,7 @@ void *virtsnd_ctl_msg_request(struct vir
  }
 
  /**
- * 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 · 5 lines
Anton Yakovlev
Senior Software Engineer

OpenSynergy GmbH
Rotherstr. 20, 10245 Berlin
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Randy Dunlap
Quoted 10 lines · Randy Dunlap

Fix kernel-doc warning that the wrong function name is used in a kernel-doc comment:

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

Pls feel free to apply to the correct tree.

Quoted 15 lines
---
 sound/virtio/virtio_ctl_msg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/virtio/virtio_ctl_msg.c +1 -1
@@ -61,7 +61,7 @@ void *virtsnd_ctl_msg_request(struct vir
 }
 
 /**
- * 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.