Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31535
b: refs/heads/master
c: e8c4b9d
h: refs/heads/master
i:
  31533: 846ccaf
  31531: 826ec79
  31527: 7611c80
  31519: d35020d
v: v3
  • Loading branch information
Bjorn Helgaas authored and Linus Torvalds committed Jul 1, 2006
1 parent 9fa041b commit 55e1aff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 17311c03c3e2c16d64d9e8cb2a3f45be2e2f8d3b
refs/heads/master: e8c4b9d003e72199a705fb5a40fcd2487fa16933
13 changes: 7 additions & 6 deletions trunk/kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void enable_irq(unsigned int irq)
spin_lock_irqsave(&desc->lock, flags);
switch (desc->depth) {
case 0:
printk(KERN_WARNING "Unablanced enable_irq(%d)\n", irq);
printk(KERN_WARNING "Unbalanced enable for IRQ %d\n", irq);
WARN_ON(1);
break;
case 1: {
Expand Down Expand Up @@ -267,9 +267,10 @@ int setup_irq(unsigned int irq, struct irqaction *new)
* SA_TRIGGER_* but the PIC does not support
* multiple flow-types?
*/
printk(KERN_WARNING "setup_irq(%d) SA_TRIGGER"
"set. No set_type function available\n",
irq);
printk(KERN_WARNING "No SA_TRIGGER set_type "
"function for IRQ %d (%s)\n", irq,
desc->chip ? desc->chip->name :
"unknown");
} else
compat_irq_chip_set_default_handler(desc);

Expand Down Expand Up @@ -299,7 +300,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
mismatch:
spin_unlock_irqrestore(&desc->lock, flags);
if (!(new->flags & SA_PROBEIRQ)) {
printk(KERN_ERR "%s: irq handler mismatch\n", __FUNCTION__);
printk(KERN_ERR "IRQ handler type mismatch for IRQ %d\n", irq);
dump_stack();
}
return -EBUSY;
Expand Down Expand Up @@ -366,7 +367,7 @@ void free_irq(unsigned int irq, void *dev_id)
kfree(action);
return;
}
printk(KERN_ERR "Trying to free free IRQ%d\n", irq);
printk(KERN_ERR "Trying to free already-free IRQ %d\n", irq);
spin_unlock_irqrestore(&desc->lock, flags);
return;
}
Expand Down

0 comments on commit 55e1aff

Please sign in to comment.