Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213527
b: refs/heads/master
c: cd3ecad
h: refs/heads/master
i:
  213525: e6f85cc
  213523: f828f55
  213519: 43d88c3
v: v3
  • Loading branch information
Daniel Drake authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent 57c7525 commit deda58a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 0dd25df1a4e63c078f357aaffb09789c9438378f
refs/heads/master: cd3ecad19aea8debae9a48b53de2ec7a571f24e9
5 changes: 3 additions & 2 deletions trunk/drivers/serial/8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/tty.h>
#include <linux/ratelimit.h>
#include <linux/tty_flip.h>
#include <linux/serial_reg.h>
#include <linux/serial_core.h>
Expand Down Expand Up @@ -1600,8 +1601,8 @@ static irqreturn_t serial8250_interrupt(int irq, void *dev_id)

if (l == i->head && pass_counter++ > PASS_LIMIT) {
/* If we hit this, we're dead. */
printk(KERN_ERR "serial8250: too much work for "
"irq%d\n", irq);
printk_ratelimited(KERN_ERR
"serial8250: too much work for irq%d\n", irq);
break;
}
} while (l != end);
Expand Down

0 comments on commit deda58a

Please sign in to comment.