[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200717185624.2009393-6-dwlsalmeida@gmail.com>
Date: Fri, 17 Jul 2020 15:56:05 -0300
From: "Daniel W. S. Almeida" <dwlsalmeida@...il.com>
To: corbet@....net, mchehab@...nel.org
Cc: "Daniel W. S. Almeida" <dwlsalmeida@...il.com>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 06/25] Documentation: usbstring: usb_validate_langid: Fix sphinx warnings
From: "Daniel W. S. Almeida" <dwlsalmeida@...il.com>
Fix the following warnings:
warning: Function parameter or member 'langid' not described in
'usb_validate_langid'
warning: Excess function parameter 'lang' description in
'usb_validate_langid'
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@...il.com>
---
drivers/usb/gadget/usbstring.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/usbstring.c b/drivers/usb/gadget/usbstring.c
index 58a4d33250902..2e9735abfeb95 100644
--- a/drivers/usb/gadget/usbstring.c
+++ b/drivers/usb/gadget/usbstring.c
@@ -16,7 +16,7 @@
/**
- * usb_gadget_get_string - fill out a string descriptor
+ * usb_gadget_get_string - fill out a string descriptor
* @table: of c strings encoded using UTF-8
* @id: string id, from low byte of wValue in get string descriptor
* @buf: at least 256 bytes, must be 16-bit aligned
@@ -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.
*/
--
2.27.0
Powered by blists - more mailing lists