Skip to contentSkip to conversation

ALSA: vx: use correct function name in kernel-doc comment

PATCH In review Randy Dunlap 1 participant 2 messages Feb 16 – Apr 16 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: vx: use correct function name in kernel-doc comment

Use the correct function name to avoid a kernel-doc warning (when W=1 is used):

vx_cmd.h:210: warning: expecting prototype for vx_send_pipe_cmd_params().
Prototype was for vx_set_pipe_cmd_params() instead

---
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: [email protected]

 sound/drivers/vx/vx_cmd.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/drivers/vx/vx_cmd.h +1 -1
@@ -199,7 +199,7 @@ struct vx_cmd_info {
 void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd);
 
 /**
- * vx_send_pipe_cmd_params - fill first command word for pipe commands
+ * vx_set_pipe_cmd_params - fill first command word for pipe commands
  * @rmh: the rmh to be modified
  * @is_capture: 0 = playback, 1 = capture operation
  * @param1: first pipe-parameter
#1 lore raw

ping.

Quoted 26 lines · Randy Dunlap

Use the correct function name to avoid a kernel-doc warning (when W=1 is used):

vx_cmd.h:210: warning: expecting prototype for vx_send_pipe_cmd_params().
Prototype was for vx_set_pipe_cmd_params() instead

---
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: [email protected]

 sound/drivers/vx/vx_cmd.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/drivers/vx/vx_cmd.h +1 -1
@@ -199,7 +199,7 @@ struct vx_cmd_info {
 void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd);
 
 /**
- * vx_send_pipe_cmd_params - fill first command word for pipe commands
+ * vx_set_pipe_cmd_params - fill first command word for pipe commands
  * @rmh: the rmh to be modified
  * @is_capture: 0 = playback, 1 = capture operation
  * @param1: first pipe-parameter
Signature · 1 line
~Randy