diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-09-18 10:05:26 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-10-29 16:24:19 -0400 |
commit | f7777dcc7550531ae551f544bdc391c65d0e1731 (patch) | |
tree | ab95758874c5d534f95ec0814760a7805ba6d175 /arch/mips/cavium-octeon | |
parent | 761845f0f68cf6eba9cad0a58d977b89f8d4486f (diff) |
MIPS: Panic messages should not end in \n.
Panic() is going to add a \n itself and it's annoying if a panic message rolls
of the screen on a device with no scrollback.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon')
-rw-r--r-- | arch/mips/cavium-octeon/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c index b212ae12e5ac..331b837cec57 100644 --- a/arch/mips/cavium-octeon/setup.c +++ b/arch/mips/cavium-octeon/setup.c | |||
@@ -999,7 +999,7 @@ void __init plat_mem_setup(void) | |||
999 | 999 | ||
1000 | if (total == 0) | 1000 | if (total == 0) |
1001 | panic("Unable to allocate memory from " | 1001 | panic("Unable to allocate memory from " |
1002 | "cvmx_bootmem_phy_alloc\n"); | 1002 | "cvmx_bootmem_phy_alloc"); |
1003 | } | 1003 | } |
1004 | 1004 | ||
1005 | /* | 1005 | /* |
@@ -1081,7 +1081,7 @@ void __init device_tree_init(void) | |||
1081 | /* Copy the default tree from init memory. */ | 1081 | /* Copy the default tree from init memory. */ |
1082 | initial_boot_params = early_init_dt_alloc_memory_arch(dt_size, 8); | 1082 | initial_boot_params = early_init_dt_alloc_memory_arch(dt_size, 8); |
1083 | if (initial_boot_params == NULL) | 1083 | if (initial_boot_params == NULL) |
1084 | panic("Could not allocate initial_boot_params\n"); | 1084 | panic("Could not allocate initial_boot_params"); |
1085 | memcpy(initial_boot_params, fdt, dt_size); | 1085 | memcpy(initial_boot_params, fdt, dt_size); |
1086 | 1086 | ||
1087 | if (do_prune) { | 1087 | if (do_prune) { |