patch-2.4.20 linux-2.4.20/drivers/i2c/i2c-core.c

Next file: linux-2.4.20/drivers/i2c/i2c-dev.c
Previous file: linux-2.4.20/drivers/hotplug/pcihp_acpi_glue.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/i2c/i2c-core.c linux-2.4.20/drivers/i2c/i2c-core.c
@@ -656,7 +656,8 @@
 	struct inode * inode = file->f_dentry->d_inode;
 	char *kbuf;
 	struct i2c_client *client;
-	int i,j,k,order_nr,len=0,len_total;
+	int i,j,k,order_nr,len=0;
+	size_t len_total;
 	int order[I2C_CLIENT_MAX];
 
 	if (count > 4000)

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