提交 85455dd3 编写于 作者: K Keith Owens 提交者: Jeff Garzik

[PATCH] Fix compile problem when sata debugging is on

Fix a sata debug print statement that still uses an old variable name.
Signed-off-by: NKeith Owens <kaos@ocs.com.au>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 c71d6be5
......@@ -567,8 +567,8 @@ static int piix_sata_prereset(struct ata_port *ap)
present = 1;
}
DPRINTK("ata%u: LEAVE, pcs=0x%x present_mask=0x%x\n",
ap->id, pcs, present_mask);
DPRINTK("ata%u: LEAVE, pcs=0x%x present=0x%x\n",
ap->id, pcs, present);
if (!present) {
ata_port_printk(ap, KERN_INFO, "SATA port has no device.\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册