patch-2.1.78 linux/drivers/scsi/pas16.c

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

diff -u --recursive --new-file v2.1.77/linux/drivers/scsi/pas16.c linux/drivers/scsi/pas16.c
@@ -516,7 +516,7 @@
     register unsigned char  *d = dst;
     register unsigned short reg = (unsigned short) (instance->io_port + 
 	P_DATA_REG_OFFSET);
-    register i = len;
+    register int i = len;
     int ii = 0;
 
     while ( !(inb(instance->io_port + P_STATUS_REG_OFFSET) & P_ST_RDY) )
@@ -552,7 +552,7 @@
     int len) {
     register unsigned char *s = src;
     register unsigned short reg = (instance->io_port + P_DATA_REG_OFFSET);
-    register i = len;
+    register int i = len;
     int ii = 0;
 
     while ( !((inb(instance->io_port + P_STATUS_REG_OFFSET)) & P_ST_RDY) )

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov