[PATCH v3 3/7] usb: gadget: atmel: Fix typo in usb_gadget_register_driver()

Mattijs Korpershoek mkorpershoek at baylibre.com
Wed Jul 24 12:14:46 CEST 2024


Hi Zixun,

Thank you for the patch.

On mar., juil. 23, 2024 at 15:18, Zixun LI <admin at hifiphile.com> wrote:

> Replace "paramter" by "parameter".
>
> Signed-off-by: Zixun LI <zli at ogga.fr>

Same remark on checkpatch warning:

WARNING: From:/Signed-off-by: email address mismatch: 'From: Zixun LI <admin at hifiphile.com>' != 'Signed-off-by: Zixun LI <zli at ogga.fr>'


> ---
>  drivers/usb/gadget/atmel_usba_udc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c
> index 83fdc36870..2e3d8f36a2 100644
> --- a/drivers/usb/gadget/atmel_usba_udc.c
> +++ b/drivers/usb/gadget/atmel_usba_udc.c
> @@ -1204,7 +1204,7 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver)
>  	int ret;
>  
>  	if (!driver || !driver->bind || !driver->setup) {
> -		log_err("bad paramter\n");
> +		log_err("bad parameter\n");
>  		return -EINVAL;
>  	}
>  
> -- 
> 2.45.2


More information about the U-Boot mailing list