projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f03598
)
m32r: fix __get_user()
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 9 Sep 2016 23:20:13 +0000
(19:20 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 13 Sep 2016 21:50:16 +0000
(17:50 -0400)
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/m32r/include/asm/uaccess.h
patch
|
blob
|
history
diff --git
a/arch/m32r/include/asm/uaccess.h
b/arch/m32r/include/asm/uaccess.h
index cac7014daef3aa6949d17a72824a757dfdbee5b4..6f8982157a75849b491c8461c0c3b34d4c7c4088 100644
(file)
--- a/
arch/m32r/include/asm/uaccess.h
+++ b/
arch/m32r/include/asm/uaccess.h
@@
-219,7
+219,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_fault(); \
__get_user_size(__gu_val, (ptr), (size), __gu_err); \
(x) = (__force __typeof__(*(ptr)))__gu_val; \