Commit 69f6a918 authored by Colton Lewis's avatar Colton Lewis Committed by Greg Kroah-Hartman

usb: correct kernel-doc inconsistency

Silence documentation  build warning by correcting  kernel-doc comment
for sub_validate_langid function.

./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'
Signed-off-by: default avatarColton Lewis <colton.w.lewis@protonmail.com>
Link: https://lore.kernel.org/r/20200707045207.235540-1-colton.w.lewis@protonmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 768a0741
...@@ -68,7 +68,7 @@ EXPORT_SYMBOL_GPL(usb_gadget_get_string); ...@@ -68,7 +68,7 @@ EXPORT_SYMBOL_GPL(usb_gadget_get_string);
/** /**
* usb_validate_langid - validate usb language identifiers * usb_validate_langid - validate usb language identifiers
* @lang: usb language identifier * @langid: usb language identifier
* *
* Returns true for valid language identifier, otherwise false. * Returns true for valid language identifier, otherwise false.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment