patch-2.3.45 linux/drivers/scsi/qlogicisp.c

Next file: linux/drivers/scsi/sun3_NCR5380.c
Previous file: linux/drivers/scsi/qla1280.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.44/linux/drivers/scsi/qlogicisp.c linux/drivers/scsi/qlogicisp.c
@@ -811,6 +811,7 @@
 		ds = cmd->dataseg;
 
 		sg_count = pci_map_sg(hostdata->pci_dev, sg, Cmnd->use_sg);
+		Cmnd->use_sg = sg_count;
 
 		cmd->segment_cnt = cpu_to_le16(sg_count);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)