patch-2.4.14 linux/drivers/acorn/scsi/powertec.c

Next file: linux/drivers/acpi/Makefile
Previous file: linux/drivers/acorn/scsi/eesox.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/drivers/acorn/scsi/powertec.c linux/drivers/acorn/scsi/powertec.c
@@ -187,7 +187,8 @@
 			memcpy(info->sg + 1, SCp->buffer + 1,
 				sizeof(struct scatterlist) * bufs);
 		info->sg[0].address = SCp->ptr;
-		info->sg[0].length = SCp->this_residual;
+		info->sg[0].page    = NULL;
+		info->sg[0].length  = SCp->this_residual;
 
 		if (direction == DMA_OUT)
 			pci_dir = PCI_DMA_TODEVICE,

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