diff options
author | Colton Lewis <colton.w.lewis@protonmail.com> | 2020-07-07 06:52:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-07 20:02:01 +0200 |
commit | 69f6a918ff4b5a04bf9474fb4c3f9e8c9abd39f1 (patch) | |
tree | 689680dea86b5f55c2eadc3859f78b33b4888e2f /drivers/usb/gadget/usbstring.c | |
parent | usb: dwc2: gadget: Remove assigned but never used 'maxsize' (diff) | |
download | linux-69f6a918ff4b5a04bf9474fb4c3f9e8c9abd39f1.tar.xz linux-69f6a918ff4b5a04bf9474fb4c3f9e8c9abd39f1.zip |
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: Colton Lewis <colton.w.lewis@protonmail.com>
Link: https://lore.kernel.org/r/20200707045207.235540-1-colton.w.lewis@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/usbstring.c')
-rw-r--r-- | drivers/usb/gadget/usbstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/usbstring.c b/drivers/usb/gadget/usbstring.c index 30f889ad3ad2..75f6f99f8173 100644 --- a/drivers/usb/gadget/usbstring.c +++ b/drivers/usb/gadget/usbstring.c @@ -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. */ |