summaryrefslogtreecommitdiff
path: root/cmd/thordown.c
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2018-06-04 16:04:51 +0900
committerTom Rini <trini@konsulko.com>2018-06-07 20:06:29 -0400
commit71002b508a1bc0986023764f155f0db26f548db2 (patch)
treef452e92246a29383b323d19c9963910fdf77251e /cmd/thordown.c
parent5c890b1bc85af5cfb05916e360dc2919ec18ac12 (diff)
cmd: add missing line breaks for pr_err()
After the commit 9b643e312d52 ("treewide: replace with error() with pr_err()"), there are some pr_err() with no line break. Add missing line breaks. Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'cmd/thordown.c')
-rw-r--r--cmd/thordown.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/thordown.c b/cmd/thordown.c
index e297de23a0..2615adad75 100644
--- a/cmd/thordown.c
+++ b/cmd/thordown.c
@@ -32,7 +32,7 @@ int do_thor_down(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
int controller_index = simple_strtoul(usb_controller, NULL, 0);
ret = board_usb_init(controller_index, USB_INIT_DEVICE);
if (ret) {
- pr_err("USB init failed: %d", ret);
+ pr_err("USB init failed: %d\n", ret);
ret = CMD_RET_FAILURE;
goto exit;
}
@@ -41,14 +41,14 @@ int do_thor_down(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
ret = thor_init();
if (ret) {
- pr_err("THOR DOWNLOAD failed: %d", ret);
+ pr_err("THOR DOWNLOAD failed: %d\n", ret);
ret = CMD_RET_FAILURE;
goto exit;
}
ret = thor_handle();
if (ret) {
- pr_err("THOR failed: %d", ret);
+ pr_err("THOR failed: %d\n", ret);
ret = CMD_RET_FAILURE;
goto exit;
}