]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: gpib: fix kernel-doc section for write_loop() function
authorGaston Gonzalez <gascoar@gmail.com>
Wed, 5 Mar 2025 19:32:16 +0000 (16:32 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 14:02:41 +0000 (07:02 -0700)
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 <gascoar@gmail.com>
Link: https://lore.kernel.org/r/20250305193614.39604-3-gascoar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c

index 1675aa2aff6c54a442f58d0f4966823b680ee2c7..7f3da11291f653fc6e7a35e0298fc5a95c1ea865 100644 (file)
@@ -232,7 +232,7 @@ static int write_loop(void *dev, char *msg, int leng)
  *
  * @board:    the gpib_board_struct data area for this gpib interface
  * @msg:      the byte sequence.
- * @leng      the byte sequence length; can be given as zero and is
+ * @leng:     the byte sequence length; can be given as zero and is
  *           computed automatically, but if 'msg' contains a zero byte,
  *           it has to be given explicitly.
  */