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>
このコミットが含まれているのは:
@@ -150,7 +150,7 @@ int __init mips_cpu_intc_init(struct device_node *of_node,
|
||||
domain = irq_domain_add_legacy(of_node, 8, MIPS_CPU_IRQ_BASE, 0,
|
||||
&mips_cpu_intc_irq_domain_ops, NULL);
|
||||
if (!domain)
|
||||
panic("Failed to add irqdomain for MIPS CPU\n");
|
||||
panic("Failed to add irqdomain for MIPS CPU");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@@ -136,10 +136,10 @@ static void bmips_prepare_cpus(unsigned int max_cpus)
|
||||
{
|
||||
if (request_irq(IPI0_IRQ, bmips_ipi_interrupt, IRQF_PERCPU,
|
||||
"smp_ipi0", NULL))
|
||||
panic("Can't request IPI0 interrupt\n");
|
||||
panic("Can't request IPI0 interrupt");
|
||||
if (request_irq(IPI1_IRQ, bmips_ipi_interrupt, IRQF_PERCPU,
|
||||
"smp_ipi1", NULL))
|
||||
panic("Can't request IPI1 interrupt\n");
|
||||
panic("Can't request IPI1 interrupt");
|
||||
}
|
||||
|
||||
/*
|
||||
|
新しいイシューから参照
ユーザーをブロックする