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/sgi-ip27 | |
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/sgi-ip27')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip27/ip27-irq.c b/arch/mips/sgi-ip27/ip27-irq.c index f90dce315e04..ec3782d31894 100644 --- a/arch/mips/sgi-ip27/ip27-irq.c +++ b/arch/mips/sgi-ip27/ip27-irq.c | |||
@@ -73,7 +73,7 @@ static inline int alloc_level(int cpu, int irq) | |||
73 | 73 | ||
74 | level = find_first_zero_bit(hub->irq_alloc_mask, LEVELS_PER_SLICE); | 74 | level = find_first_zero_bit(hub->irq_alloc_mask, LEVELS_PER_SLICE); |
75 | if (level >= LEVELS_PER_SLICE) | 75 | if (level >= LEVELS_PER_SLICE) |
76 | panic("Cpu %d flooded with devices\n", cpu); | 76 | panic("Cpu %d flooded with devices", cpu); |
77 | 77 | ||
78 | __set_bit(level, hub->irq_alloc_mask); | 78 | __set_bit(level, hub->irq_alloc_mask); |
79 | si->level_to_irq[level] = irq; | 79 | si->level_to_irq[level] = irq; |
@@ -96,7 +96,7 @@ static inline int find_level(cpuid_t *cpunum, int irq) | |||
96 | } | 96 | } |
97 | } | 97 | } |
98 | 98 | ||
99 | panic("Could not identify cpu/level for irq %d\n", irq); | 99 | panic("Could not identify cpu/level for irq %d", irq); |
100 | } | 100 | } |
101 | 101 | ||
102 | /* | 102 | /* |