Skip to content

Commit

Permalink
[PATCH] Fix compile problem when sata debugging is on
Browse files Browse the repository at this point in the history
Fix a sata debug print statement that still uses an old variable name.

Signed-off-by: Keith Owens <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
  • Loading branch information
Keith Owens authored and Jeff Garzik committed Aug 9, 2006
1 parent c71d6be commit 85455dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/ata_piix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 85455dd

Please sign in to comment.