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
This commit is contained in:
Helge Deller
2008-12-31 03:11:31 +00:00
committed by Kyle McMartin
parent 70da2d9630
commit 7f2347a44d
2 changed files with 3 additions and 7 deletions

View File

@@ -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);
}