Skip to content

Commit

Permalink
[PATCH] libata: make code actually compile with debugging on
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Alan Cox authored and Jeff Garzik committed Mar 22, 2006
1 parent 2d20202 commit db7f44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/pdc_adma.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ static int adma_fill_sg(struct ata_queued_cmd *qc)
= (pFLAGS & pEND) ? 0 : cpu_to_le32(pp->pkt_dma + i + 4);
i += 4;

VPRINTK("PRD[%u] = (0x%lX, 0x%X)\n", nelem,
VPRINTK("PRD[%u] = (0x%lX, 0x%X)\n", i/4,
(unsigned long)addr, len);
}
return i;
Expand Down

0 comments on commit db7f44d

Please sign in to comment.