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
d903608b
Commit
d903608b
authored
Oct 12, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] __ret is deprecated
parent
f71839aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
include/asm-cris/uaccess.h
include/asm-cris/uaccess.h
+0
-24
No files found.
include/asm-cris/uaccess.h
View file @
d903608b
...
@@ -147,25 +147,6 @@ extern unsigned long search_exception_table(unsigned long);
...
@@ -147,25 +147,6 @@ extern unsigned long search_exception_table(unsigned long);
#define __put_user(x,ptr) \
#define __put_user(x,ptr) \
__put_user_nocheck((__typeof__(*(ptr)))(x),(ptr),sizeof(*(ptr)))
__put_user_nocheck((__typeof__(*(ptr)))(x),(ptr),sizeof(*(ptr)))
/*
* The "xxx_ret" versions return constant specified in third argument, if
* something bad happens. These macros can be optimized for the
* case of just returning from the function xxx_ret is used.
*/
#define put_user_ret(x,ptr,ret) \
do { if (put_user(x,ptr)) return ret; } while (0)
#define get_user_ret(x,ptr,ret) \
do { if (get_user(x,ptr)) return ret; } while (0)
#define __put_user_ret(x,ptr,ret) \
do { if (__put_user(x,ptr)) return ret; } while (0)
#define __get_user_ret(x,ptr,ret) \
do { if (__get_user(x,ptr)) return ret; } while (0)
extern
long
__put_user_bad
(
void
);
extern
long
__put_user_bad
(
void
);
#define __put_user_nocheck(x,ptr,size) \
#define __put_user_nocheck(x,ptr,size) \
...
@@ -1017,11 +998,6 @@ __constant_clear_user(void *to, unsigned long n)
...
@@ -1017,11 +998,6 @@ __constant_clear_user(void *to, unsigned long n)
__constant_copy_to_user(to, from, n) : \
__constant_copy_to_user(to, from, n) : \
__generic_copy_to_user(to, from, n))
__generic_copy_to_user(to, from, n))
#define copy_to_user_ret(to,from,n,retval) \
do { if (copy_to_user(to,from,n)) return retval; } while (0)
#define copy_from_user_ret(to,from,n,retval) \
do { if (copy_from_user(to,from,n)) return retval; } while (0)
/* We let the __ versions of copy_from/to_user inline, because they're often
/* We let the __ versions of copy_from/to_user inline, because they're often
* used in fast paths and have only a small space overhead.
* used in fast paths and have only a small space overhead.
*/
*/
...
...
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