diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2011-11-17 10:07:31 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-12-07 17:01:45 -0500 |
commit | ab75dc02c151c9d2a2fd446334d740b097a3b9db (patch) | |
tree | 45270931b489a1260e2d2aa3b9ffb1ef7347cfb6 /arch/mips/pci/msi-octeon.c | |
parent | 864c6c22e9a5742b0f43c983b6c405d52817bacd (diff) |
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>
Diffstat (limited to 'arch/mips/pci/msi-octeon.c')
-rw-r--r-- | arch/mips/pci/msi-octeon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/msi-octeon.c b/arch/mips/pci/msi-octeon.c index 5d530f89d872..d37be36dc659 100644 --- a/arch/mips/pci/msi-octeon.c +++ b/arch/mips/pci/msi-octeon.c | |||
@@ -162,7 +162,7 @@ msi_irq_allocated: | |||
162 | msg.address_hi = (0 + CVMX_NPEI_PCIE_MSI_RCV) >> 32; | 162 | msg.address_hi = (0 + CVMX_NPEI_PCIE_MSI_RCV) >> 32; |
163 | break; | 163 | break; |
164 | default: | 164 | default: |
165 | panic("arch_setup_msi_irq: Invalid octeon_dma_bar_type\n"); | 165 | panic("arch_setup_msi_irq: Invalid octeon_dma_bar_type"); |
166 | } | 166 | } |
167 | msg.data = irq - OCTEON_IRQ_MSI_BIT0; | 167 | msg.data = irq - OCTEON_IRQ_MSI_BIT0; |
168 | 168 | ||