Skip to content

Commit 4f991a6

Browse files
gascoargregkh
authored andcommitted
staging: gpib: fix kernel-doc section for write_loop() function
Add a colon character in the kernel-doc section of write_loop() in order 'leng' to be picked as argument by the kernel-doc compiler. This change fix the following warning: warning: Function parameter or struct member 'leng' not described in 'send_command' Signed-off-by: Gaston Gonzalez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4a2b4d9 commit 4f991a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static int write_loop(void *dev, char *msg, int leng)
232232
*
233233
* @board: the gpib_board_struct data area for this gpib interface
234234
* @msg: the byte sequence.
235-
* @leng the byte sequence length; can be given as zero and is
235+
* @leng: the byte sequence length; can be given as zero and is
236236
* computed automatically, but if 'msg' contains a zero byte,
237237
* it has to be given explicitly.
238238
*/

0 commit comments

Comments
 (0)