Skip to content

Commit

Permalink
usb: gadget: fix langid kernel-doc warning in usbstring.c
Browse files Browse the repository at this point in the history
Fix spelling of the 'langid' function argument in the kernel-doc
notation to quieten a kernel-doc warning.

../drivers/usb/gadget/usbstring.c:77: warning: Function parameter or member 'langid' not described in 'usb_validate_langid'
../drivers/usb/gadget/usbstring.c:77: warning: Excess function parameter 'lang' description in 'usb_validate_langid'

Fixes: 17309a6 ("usb: gadget: add "usb_validate_langid" function")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Tao Ren <rentao.bupt@gmail.com>
Cc: Tao Ren <rentao.bupt@gmail.com>
Cc: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
  • Loading branch information
Randy Dunlap authored and Felipe Balbi committed Jul 9, 2020
1 parent e25d1e8 commit 4a0f5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/usbstring.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ EXPORT_SYMBOL_GPL(usb_gadget_get_string);

/**
* usb_validate_langid - validate usb language identifiers
* @lang: usb language identifier
* @langid: usb language identifier
*
* Returns true for valid language identifier, otherwise false.
*/
Expand Down

0 comments on commit 4a0f5a7

Please sign in to comment.