struct scatterlist *sg = qc->sg; 
struct scatterlist *sg; 
static void qs_fill_sg(struct ata_queued_cmd *qc){	struct scatterlist *sg = qc->sg;	struct ata_port *ap = qc->ap;	struct qs_port_priv *pp = ap->private_data;	unsigned int nelem;	u8 *prd = pp->pkt + QS_CPB_BYTES;	assert(sg != NULL);	assert(qc->n_elem > 0);	for (nelem = 0; nelem < qc->n_elem; nelem++,sg++) {		u64 addr;		u32 len;		addr = sg_dma_address(sg);		*(__le64 *)prd = cpu_to_le64(addr);		prd += sizeof(u64);		len = sg_dma_len(sg);		*(__le32 *)prd = cpu_to_le32(len);		prd += sizeof(u64);		VPRINTK("PRD[%u] = (0x%llX, 0x%X)\n", nelem,					(unsigned long long)addr, len);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/cedc9a478d8c6265879dc3839ef3d4849a709184/sata_qstor.c/buggy/drivers/scsi/sata_qstor.c