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

Jó Ágila Bitsch posted 1 patch 2 years, 7 months ago
include/linux/usb/composite.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] usb: gadget: drop superfluous ':' in doc string
Posted by Jó Ágila Bitsch 2 years, 7 months ago
There was one superfluous ':' that kernel-doc complained about.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Closes: https://lore.kernel.org/all/c718a490-028d-2682-9ad7-8256d16504bf@infradead.org/
Fixes: fb6211f1584a ("usb: gadget: add doc to struct usb_composite_dev")
Signed-off-by: Jó Ágila Bitsch <jgilab@gmail.com>
---
 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
Re: [PATCH] usb: gadget: drop superfluous ':' in doc string
Posted by Randy Dunlap 2 years, 7 months ago

On 4/22/23 09:05, Jó Ágila Bitsch wrote:
> There was one superfluous ':' that kernel-doc complained about.
> 
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Closes: https://lore.kernel.org/all/c718a490-028d-2682-9ad7-8256d16504bf@infradead.org/
> Fixes: fb6211f1584a ("usb: gadget: add doc to struct usb_composite_dev")
> Signed-off-by: Jó Ágila Bitsch <jgilab@gmail.com>


Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

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