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:
@ -162,7 +162,7 @@ msi_irq_allocated:
|
||||
msg.address_hi = (0 + CVMX_NPEI_PCIE_MSI_RCV) >> 32;
|
||||
break;
|
||||
default:
|
||||
panic("arch_setup_msi_irq: Invalid octeon_dma_bar_type\n");
|
||||
panic("arch_setup_msi_irq: Invalid octeon_dma_bar_type");
|
||||
}
|
||||
msg.data = irq - OCTEON_IRQ_MSI_BIT0;
|
||||
|
||||
|
Reference in New Issue
Block a user