MIPS: Fix up inconsistency in panic() string argument.
Panic() invokes printk() to add a \n internally, so panic arguments should not themselves end in \n. Panic invocations in arch/mips and elsewhere are inconsistently sometimes terminating in \n, sometimes not. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -96,7 +96,7 @@ void __init plat_mem_setup(void)
|
||||
|
||||
io_base = (unsigned long)ioremap(AR7_REGS_BASE, 0x10000);
|
||||
if (!io_base)
|
||||
panic("Can't remap IO base!\n");
|
||||
panic("Can't remap IO base!");
|
||||
set_io_port_base(io_base);
|
||||
|
||||
prom_meminit();
|
||||
|
Reference in New Issue
Block a user