From: Alan Cox Date: Tue, 21 Mar 2006 15:54:24 +0000 (+0000) Subject: [PATCH] libata: make code actually compile with debugging on X-Git-Tag: MMI-PSA29.97-13-9~51555 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db7f44d96e0b605906abc38aaf34841a93885884;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] libata: make code actually compile with debugging on Signed-off-by: Jeff Garzik --- 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) = (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;