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
nexedi
linux
Commits
a853f20d
Commit
a853f20d
authored
Jan 15, 2005
by
Pawel Sikora
Committed by
Linus Torvalds
Jan 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] final csum_and_copy_from_user gcc4 warning fixes
The build is clean now.
parent
8aa11989
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/asm-i386/checksum.h
include/asm-i386/checksum.h
+2
-2
No files found.
include/asm-i386/checksum.h
View file @
a853f20d
...
...
@@ -47,7 +47,7 @@ unsigned int csum_partial_copy_from_user(const unsigned char __user *src, unsign
int
len
,
int
sum
,
int
*
err_ptr
)
{
might_sleep
();
return
csum_partial_copy_generic
((
__force
char
*
)
src
,
dst
,
return
csum_partial_copy_generic
((
__force
unsigned
char
*
)
src
,
dst
,
len
,
sum
,
err_ptr
,
NULL
);
}
...
...
@@ -181,7 +181,7 @@ static __inline__ unsigned int csum_and_copy_to_user(const unsigned char *src,
{
might_sleep
();
if
(
access_ok
(
VERIFY_WRITE
,
dst
,
len
))
return
csum_partial_copy_generic
(
src
,
(
__force
char
*
)
dst
,
len
,
sum
,
NULL
,
err_ptr
);
return
csum_partial_copy_generic
(
src
,
(
__force
unsigned
char
*
)
dst
,
len
,
sum
,
NULL
,
err_ptr
);
if
(
len
)
*
err_ptr
=
-
EFAULT
;
...
...
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