On 7/17/20 11:56 AM, Daniel W. S. Almeida wrote:
> From: "Daniel W. S. Almeida" <[email protected]>
> 
> 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 <[email protected]>

Hi Daniel,

This is already fixed in Greg's tree.

thanks.

> ---
>  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.
>   */
> 


-- 
~Randy
Reported-by: Randy Dunlap <[email protected]>

Reply via email to