提交 c13596b0 编写于 作者: S Stefan Richter

ieee1394: ohci1394: fix cosmetic problem in error logging

If posted write failed, an "Unhandled interrupt(s) 0x00000100" message
was logged by mistake.
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 21b2c564
...@@ -2377,6 +2377,7 @@ static irqreturn_t ohci_irq_handler(int irq, void *dev_id) ...@@ -2377,6 +2377,7 @@ static irqreturn_t ohci_irq_handler(int irq, void *dev_id)
if (event & OHCI1394_postedWriteErr) { if (event & OHCI1394_postedWriteErr) {
PRINT(KERN_ERR, "physical posted write error"); PRINT(KERN_ERR, "physical posted write error");
/* no recovery strategy yet, had to involve protocol drivers */ /* no recovery strategy yet, had to involve protocol drivers */
event &= ~OHCI1394_postedWriteErr;
} }
if (event & OHCI1394_cycleTooLong) { if (event & OHCI1394_cycleTooLong) {
if(printk_ratelimit()) if(printk_ratelimit())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册