diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-09-18 18:05:26 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-10-30 00:24:19 +0400 |
commit | f7777dcc7550531ae551f544bdc391c65d0e1731 (patch) | |
tree | ab95758874c5d534f95ec0814760a7805ba6d175 /arch/mips/cavium-octeon/setup.c | |
parent | 761845f0f68cf6eba9cad0a58d977b89f8d4486f (diff) | |
download | linux-f7777dcc7550531ae551f544bdc391c65d0e1731.tar.xz |
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/setup.c')
-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) if (total == 0) panic("Unable to allocate memory from " - "cvmx_bootmem_phy_alloc\n"); + "cvmx_bootmem_phy_alloc"); } /* @@ -1081,7 +1081,7 @@ void __init device_tree_init(void) /* Copy the default tree from init memory. */ initial_boot_params = early_init_dt_alloc_memory_arch(dt_size, 8); if (initial_boot_params == NULL) - panic("Could not allocate initial_boot_params\n"); + panic("Could not allocate initial_boot_params"); memcpy(initial_boot_params, fdt, dt_size); if (do_prune) { |