projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d20202
)
[PATCH] libata: make code actually compile with debugging on
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Tue, 21 Mar 2006 15:54:24 +0000
(15:54 +0000)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 22 Mar 2006 02:21:32 +0000
(21:21 -0500)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/pdc_adma.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/pdc_adma.c
b/drivers/scsi/pdc_adma.c
index
5f33cc9
..
b7b2300
100644
(file)
--- 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)
= (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;