提交 12a87d36 编写于 作者: A Alan Cox 提交者: Jeff Garzik

[PATCH] ahci: readability tweak

Signed-off-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 3343571d
...@@ -1041,7 +1041,7 @@ static void ahci_host_intr(struct ata_port *ap) ...@@ -1041,7 +1041,7 @@ static void ahci_host_intr(struct ata_port *ap)
/* hmmm... a spurious interupt */ /* hmmm... a spurious interupt */
/* some devices send D2H reg with I bit set during NCQ command phase */ /* some devices send D2H reg with I bit set during NCQ command phase */
if (ap->sactive && status & PORT_IRQ_D2H_REG_FIS) if (ap->sactive && (status & PORT_IRQ_D2H_REG_FIS))
return; return;
/* ignore interim PIO setup fis interrupts */ /* ignore interim PIO setup fis interrupts */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册