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

From: Randy Dunlap
Date: Sat Apr 22 2023 - 12:27:13 EST




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


Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

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