Skip to contentSkip to conversation

Fix compile problem when sata debugging is on

PATCH Applied Keith Owens 2 participants 2 messages Aug 8, 2006 – Aug 9, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compile problem when sata debugging is on

Fix a sata debug print statement that still uses an old variable name.

---
 drivers/scsi/ata_piix.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/ata_piix.c +2 -2
Index: linux/drivers/scsi/ata_piix.c
===================================================================
@@ -567,8 +567,8 @@ static int piix_sata_prereset(struct ata
 			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");