diff options
author | Helge Deller <deller@gmx.de> | 2008-12-31 04:11:31 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-01-05 20:00:21 +0100 |
commit | 7f2347a44d2d5c8edf04d6950f4fb21ac868d256 (patch) | |
tree | 8ec2b9c293faf6d3285004ad2c5aad8113541fb0 /arch/parisc/kernel/irq.c | |
parent | parisc: fix braino in commit adding __space_to_prot (diff) | |
download | linux-7f2347a44d2d5c8edf04d6950f4fb21ac868d256.tar.xz linux-7f2347a44d2d5c8edf04d6950f4fb21ac868d256.zip |
parisc: trivial fixes
trivial fixes:
- use KERN_WARNING for printk()
- use BUG_ON() instead of "if (xx) BUG();"
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Diffstat (limited to 'arch/parisc/kernel/irq.c')
-rw-r--r-- | arch/parisc/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index 4cea935e2f99..13fc4cd5bfdf 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -421,5 +421,5 @@ void __init init_IRQ(void) void ack_bad_irq(unsigned int irq) { - printk("unexpected IRQ %d\n", irq); + printk(KERN_WARNING "unexpected IRQ %d\n", irq); } |