summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorColton Lewis <colton.w.lewis@protonmail.com>2020-07-07 04:52:32 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-07 20:02:01 +0200
commit69f6a918ff4b5a04bf9474fb4c3f9e8c9abd39f1 (patch)
tree689680dea86b5f55c2eadc3859f78b33b4888e2f /drivers
parent768a0741284315d3a454f5f4e2fa88f62b5abfe9 (diff)
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')
-rw-r--r--drivers/usb/gadget/usbstring.c2
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.
*/