[PATCH 2/2] usb: fastboot: Add missing newline in pr_err

Marek Vasut marex at denx.de
Sun Nov 19 03:17:51 CET 2023


On 11/19/23 02:04, Simon Holesch wrote:

Please also add missing commit message (can be just the subject copied 
into the body)

> Signed-off-by: Simon Holesch <simon at holesch.de>
> ---
>   drivers/usb/gadget/f_fastboot.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c
> index 741775a7bc..9f322c9550 100644
> --- a/drivers/usb/gadget/f_fastboot.c
> +++ b/drivers/usb/gadget/f_fastboot.c
> @@ -520,7 +520,7 @@ static void rx_handler_command(struct usb_ep *ep, struct usb_request *req)
>   		cmdbuf[req->actual] = '\0';
>   		cmd = fastboot_handle_command(cmdbuf, response);
>   	} else {
> -		pr_err("buffer overflow");
> +		pr_err("buffer overflow\n");
>   		fastboot_fail("buffer overflow", response);
>   	}

With that fixed:

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list