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:
@@ -223,7 +223,7 @@ static void __cpuinit probe_octeon(void)
|
||||
break;
|
||||
|
||||
default:
|
||||
panic("Unsupported Cavium Networks CPU type\n");
|
||||
panic("Unsupported Cavium Networks CPU type");
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user