Linux USB
 help / color / mirror / Atom feed
* [PATCH 1/2] usb: correct kernel-doc inconsistency
@ 2020-07-07  4:52 Colton Lewis
  2020-07-07  4:52 ` [PATCH 2/2] " Colton Lewis
  2020-07-07  5:14 ` [PATCH 1/2] " Randy Dunlap
  0 siblings, 2 replies; 8+ messages in thread
From: Colton Lewis @ 2020-07-07  4:52 UTC (permalink / raw)
  To: gregkh; +Cc: balbi, linux-usb, Colton Lewis

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>
---
 drivers/usb/gadget/usbstring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/usbstring.c b/drivers/usb/gadget/usbstring.c
index 58a4d3325090..119505fac777 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.
  */
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-07-07 18:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-07  4:52 [PATCH 1/2] usb: correct kernel-doc inconsistency Colton Lewis
2020-07-07  4:52 ` [PATCH 2/2] " Colton Lewis
2020-07-07  5:17   ` Randy Dunlap
2020-07-07 18:02     ` Greg KH
2020-07-07 18:06       ` Randy Dunlap
2020-07-07  5:14 ` [PATCH 1/2] " Randy Dunlap
2020-07-07 18:02   ` Greg KH
2020-07-07 18:09     ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox