aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pdc_adma.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-03-21 10:54:24 -0500
committerJeff Garzik <jeff@garzik.org>2006-03-21 21:21:32 -0500
commitdb7f44d96e0b605906abc38aaf34841a93885884 (patch)
tree86a2a4f07e73e48df39b167aa7a6ccf504099835 /drivers/scsi/pdc_adma.c
parent2d2020242d14dc8caf83d7682d91368cff64290c (diff)
[PATCH] libata: make code actually compile with debugging on
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/pdc_adma.c')
-rw-r--r--drivers/scsi/pdc_adma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pdc_adma.c b/drivers/scsi/pdc_adma.c
index 5f33cc932e70..b7b2300f6768 100644
--- a/drivers/scsi/pdc_adma.c
+++ b/drivers/scsi/pdc_adma.c
@@ -322,7 +322,7 @@ static int adma_fill_sg(struct ata_queued_cmd *qc)
322 = (pFLAGS & pEND) ? 0 : cpu_to_le32(pp->pkt_dma + i + 4); 322 = (pFLAGS & pEND) ? 0 : cpu_to_le32(pp->pkt_dma + i + 4);
323 i += 4; 323 i += 4;
324 324
325 VPRINTK("PRD[%u] = (0x%lX, 0x%X)\n", nelem, 325 VPRINTK("PRD[%u] = (0x%lX, 0x%X)\n", i/4,
326 (unsigned long)addr, len); 326 (unsigned long)addr, len);
327 } 327 }
328 return i; 328 return i;