Commit 71002b508a1bc0986023764f155f0db26f548db2

Authored by Seung-Woo Kim
Committed by Tom Rini
1 parent 5c890b1bc8

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>

Showing 4 changed files with 8 additions and 8 deletions Side-by-side Diff

... ... @@ -48,7 +48,7 @@
48 48  
49 49 ret = board_usb_init(controller_index, USB_INIT_DEVICE);
50 50 if (ret) {
51   - pr_err("USB init failed: %d", ret);
  51 + pr_err("USB init failed: %d\n", ret);
52 52 return CMD_RET_FAILURE;
53 53 }
54 54  
... ... @@ -70,7 +70,7 @@
70 70  
71 71 *uc_pdata = dev_get_uclass_platdata(*devp);
72 72 if (!*uc_pdata) {
73   - pr_err("Regulator: %s - missing platform data!", currdev->name);
  73 + pr_err("Regulator: %s - missing platform data!\n", currdev->name);
74 74 return CMD_RET_FAILURE;
75 75 }
76 76  
... ... @@ -32,7 +32,7 @@
32 32 int controller_index = simple_strtoul(usb_controller, NULL, 0);
33 33 ret = board_usb_init(controller_index, USB_INIT_DEVICE);
34 34 if (ret) {
35   - pr_err("USB init failed: %d", ret);
  35 + pr_err("USB init failed: %d\n", ret);
36 36 ret = CMD_RET_FAILURE;
37 37 goto exit;
38 38 }
39 39  
... ... @@ -41,14 +41,14 @@
41 41  
42 42 ret = thor_init();
43 43 if (ret) {
44   - pr_err("THOR DOWNLOAD failed: %d", ret);
  44 + pr_err("THOR DOWNLOAD failed: %d\n", ret);
45 45 ret = CMD_RET_FAILURE;
46 46 goto exit;
47 47 }
48 48  
49 49 ret = thor_handle();
50 50 if (ret) {
51   - pr_err("THOR failed: %d", ret);
  51 + pr_err("THOR failed: %d\n", ret);
52 52 ret = CMD_RET_FAILURE;
53 53 goto exit;
54 54 }
cmd/usb_mass_storage.c
... ... @@ -161,21 +161,21 @@
161 161 controller_index = (unsigned int)(simple_strtoul(
162 162 usb_controller, NULL, 0));
163 163 if (board_usb_init(controller_index, USB_INIT_DEVICE)) {
164   - pr_err("Couldn't init USB controller.");
  164 + pr_err("Couldn't init USB controller.\n");
165 165 rc = CMD_RET_FAILURE;
166 166 goto cleanup_ums_init;
167 167 }
168 168  
169 169 rc = fsg_init(ums, ums_count);
170 170 if (rc) {
171   - pr_err("fsg_init failed");
  171 + pr_err("fsg_init failed\n");
172 172 rc = CMD_RET_FAILURE;
173 173 goto cleanup_board;
174 174 }
175 175  
176 176 rc = g_dnl_register("usb_dnl_ums");
177 177 if (rc) {
178   - pr_err("g_dnl_register failed");
  178 + pr_err("g_dnl_register failed\n");
179 179 rc = CMD_RET_FAILURE;
180 180 goto cleanup_board;
181 181 }