Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
e06f21ae
Commit
e06f21ae
authored
Dec 20, 2002
by
Dave Jones
Committed by
Linus Torvalds
Dec 20, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] i2c size_t fix
parent
de23c3e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/i2c/i2c-core.c
drivers/i2c/i2c-core.c
+2
-1
No files found.
drivers/i2c/i2c-core.c
View file @
e06f21ae
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment