patch-2.2.0-pre1 linux/drivers/scsi/g_NCR5380.c
Next file: linux/drivers/scsi/gdth.c
Previous file: linux/drivers/scsi/dc390.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sun Dec 27 10:53:45 1998
- Orig file:
v2.1.132/linux/drivers/scsi/g_NCR5380.c
- Orig date:
Tue Jun 9 11:57:30 1998
diff -u --recursive --new-file v2.1.132/linux/drivers/scsi/g_NCR5380.c linux/drivers/scsi/g_NCR5380.c
@@ -495,7 +495,7 @@
dst[start+i] = NCR5380_read(C400_HOST_BUFFER);
#else
/* implies CONFIG_SCSI_G_NCR5380_MEM */
- memmove(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128);
+ memcpy(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128);
#endif
start+=128;
blocks--;
@@ -516,7 +516,7 @@
dst[start+i] = NCR5380_read(C400_HOST_BUFFER);
#else
/* implies CONFIG_SCSI_G_NCR5380_MEM */
- memmove(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128);
+ memcpy(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128);
#endif
start+=128;
blocks--;
@@ -603,7 +603,7 @@
NCR5380_write(C400_HOST_BUFFER, src[start+i]);
#else
/* implies CONFIG_SCSI_G_NCR5380_MEM */
- memmove(NCR53C400_host_buffer+NCR5380_map_name,src+start,128);
+ memcpy(NCR53C400_host_buffer+NCR5380_map_name,src+start,128);
#endif
start+=128;
blocks--;
@@ -623,7 +623,7 @@
NCR5380_write(C400_HOST_BUFFER, src[start+i]);
#else
/* implies CONFIG_SCSI_G_NCR5380_MEM */
- memmove(NCR53C400_host_buffer+NCR5380_map_name,src+start,128);
+ memcpy(NCR53C400_host_buffer+NCR5380_map_name,src+start,128);
#endif
start+=128;
blocks--;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov