projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d84a5d
)
m32r: fix __get_user()
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 9 Sep 2016 23:20:13 +0000
(19:20 -0400)
committer
Willy Tarreau
<w@1wt.eu>
Mon, 6 Feb 2017 22:32:58 +0000
(23:32 +0100)
commit
c90a3bc5061d57e7931a9b7ad14784e1a0ed497d
upstream.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Willy Tarreau <w@1wt.eu>
arch/m32r/include/asm/uaccess.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/m32r/include/asm/uaccess.h
b/arch/m32r/include/asm/uaccess.h
index 1c7047bea2002b013ab779a8c752654b9a2a9c23..a26d28d59ae63899a3e2939bbf30810da7e8aeb6 100644
(file)
--- a/
arch/m32r/include/asm/uaccess.h
+++ b/
arch/m32r/include/asm/uaccess.h
@@
-215,7
+215,7
@@
extern int fixup_exception(struct pt_regs *regs);
#define __get_user_nocheck(x,ptr,size) \
({ \
long __gu_err = 0; \
- unsigned long __gu_val
;
\
+ unsigned long __gu_val
= 0;
\
might_sleep(); \
__get_user_size(__gu_val,(ptr),(size),__gu_err); \
(x) = (__typeof__(*(ptr)))__gu_val; \