Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111123
b: refs/heads/master
c: 8d2d91e
h: refs/heads/master
i:
  111121: 31aebee
  111119: 3b033e6
v: v3
  • Loading branch information
Ralf Baechle committed Oct 11, 2008
1 parent e987f79 commit 8931459
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b6263ff2d6e58cc2fe615219ab2a06778b5e6cef
refs/heads/master: 8d2d91e86b4153cc2305ec86fe908048f459ff7f
8 changes: 4 additions & 4 deletions trunk/include/asm-mips/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,15 @@ do { \

#define __get_user_nocheck(x, ptr, size) \
({ \
long __gu_err; \
int __gu_err; \
\
__get_user_common((x), size, ptr); \
__gu_err; \
})

#define __get_user_check(x, ptr, size) \
({ \
long __gu_err = -EFAULT; \
int __gu_err = -EFAULT; \
const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); \
\
if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \
Expand Down Expand Up @@ -304,7 +304,7 @@ do { \
#define __put_user_nocheck(x, ptr, size) \
({ \
__typeof__(*(ptr)) __pu_val; \
long __pu_err = 0; \
int __pu_err = 0; \
\
__pu_val = (x); \
switch (size) { \
Expand All @@ -321,7 +321,7 @@ do { \
({ \
__typeof__(*(ptr)) __user *__pu_addr = (ptr); \
__typeof__(*(ptr)) __pu_val = (x); \
long __pu_err = -EFAULT; \
int __pu_err = -EFAULT; \
\
if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { \
switch (size) { \
Expand Down

0 comments on commit 8931459

Please sign in to comment.