Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86234
b: refs/heads/master
c: 4223cc3
h: refs/heads/master
v: v3
  • Loading branch information
Yoshinori Sato authored and Linus Torvalds committed Feb 24, 2008
1 parent 61a2e17 commit 73ecc54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 45d464eb67a1ad03e909ae1868e7ecfcb696c57f
refs/heads/master: 4223cc34365e46f5e50d5496623367c552cd8a51
4 changes: 2 additions & 2 deletions trunk/include/asm-h8300/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ extern int __put_user_bad(void);
#define get_user(x, ptr) \
({ \
int __gu_err = 0; \
typeof(*(ptr)) __gu_val = 0; \
uint32_t __gu_val = 0; \
switch (sizeof(*(ptr))) { \
case 1: \
case 2: \
Expand All @@ -106,7 +106,7 @@ extern int __put_user_bad(void);
__gu_err = __get_user_bad(); \
break; \
} \
(x) = __gu_val; \
(x) = (typeof(*(ptr)))__gu_val; \
__gu_err; \
})
#define __get_user(x, ptr) get_user(x, ptr)
Expand Down

0 comments on commit 73ecc54

Please sign in to comment.