2023-04-22 16:07:43

by Jó Ágila Bitsch

[permalink] [raw]
Subject: [PATCH] usb: gadget: drop superfluous ':' in doc string

There was one superfluous ':' that kernel-doc complained about.

Reported-by: Randy Dunlap <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: fb6211f1584a ("usb: gadget: add doc to struct usb_composite_dev")
Signed-off-by: J? ?gila Bitsch <[email protected]>
---
include/linux/usb/composite.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h
index a2448e98854f..07531c4f4350 100644
--- a/include/linux/usb/composite.h
+++ b/include/linux/usb/composite.h
@@ -443,7 +443,7 @@ static inline struct usb_composite_driver *to_cdriver(
* @bcd_webusb_version: 0x0100 by default, WebUSB specification version
* @b_webusb_vendor_code: 0x0 by default, vendor code for WebUSB
* @landing_page: empty by default, landing page to announce in WebUSB
- * @use_webusb:: false by default, interested gadgets set it
+ * @use_webusb: false by default, interested gadgets set it
* @os_desc_config: the configuration to be used with OS descriptors
* @setup_pending: true when setup request is queued but not completed
* @os_desc_pending: true when os_desc request is queued but not completed
--
2.39.2


2023-04-22 16:29:58

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] usb: gadget: drop superfluous ':' in doc string



On 4/22/23 09:05, Jó Ágila Bitsch wrote:
> There was one superfluous ':' that kernel-doc complained about.
>
> Reported-by: Randy Dunlap <[email protected]>
> Closes: https://lore.kernel.org/all/[email protected]/
> Fixes: fb6211f1584a ("usb: gadget: add doc to struct usb_composite_dev")
> Signed-off-by: Jó Ágila Bitsch <[email protected]>


Reviewed-by: Randy Dunlap <[email protected]>

Thanks.

> ---
> include/linux/usb/composite.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h
> index a2448e98854f..07531c4f4350 100644
> --- a/include/linux/usb/composite.h
> +++ b/include/linux/usb/composite.h
> @@ -443,7 +443,7 @@ static inline struct usb_composite_driver *to_cdriver(
> * @bcd_webusb_version: 0x0100 by default, WebUSB specification version
> * @b_webusb_vendor_code: 0x0 by default, vendor code for WebUSB
> * @landing_page: empty by default, landing page to announce in WebUSB
> - * @use_webusb:: false by default, interested gadgets set it
> + * @use_webusb: false by default, interested gadgets set it
> * @os_desc_config: the configuration to be used with OS descriptors
> * @setup_pending: true when setup request is queued but not completed
> * @os_desc_pending: true when os_desc request is queued but not completed

--
~Randy