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

Simon Holesch simon at holesch.de
Mon Nov 20 01:08:35 CET 2023


Add missing newline in pr_err.

Signed-off-by: Simon Holesch <simon at holesch.de>
Reviewed-by: Marek Vasut <marex at denx.de>
---

Changes in v2:
- add commit message body

Thanks for the review!

 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);
 	}
 
-- 
2.42.1



More information about the U-Boot mailing list