Commit e06f21ae authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] i2c size_t fix

parent de23c3e0
...@@ -622,7 +622,8 @@ ssize_t i2cproc_bus_read(struct file * file, char * buf,size_t count, ...@@ -622,7 +622,8 @@ ssize_t i2cproc_bus_read(struct file * file, char * buf,size_t count,
struct inode * inode = file->f_dentry->d_inode; struct inode * inode = file->f_dentry->d_inode;
char *kbuf; char *kbuf;
struct i2c_client *client; 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]; int order[I2C_CLIENT_MAX];
#define OUTPUT_LENGTH_PER_LINE 70 #define OUTPUT_LENGTH_PER_LINE 70
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment