projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59dd93e
)
m32r: fix __get_user()
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 9 Sep 2016 23:20:13 +0000
(19:20 -0400)
committer
Sasha Levin
<alexander.levin@verizon.com>
Mon, 3 Oct 2016 01:14:58 +0000
(21:14 -0400)
[ Upstream commit
c90a3bc5061d57e7931a9b7ad14784e1a0ed497d
]
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
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 71adff209405e15b052e96d832ba5a26295bb98e..c66a38d0a89593b06c255b99a21e7c7b7876a566 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_fault(); \
__get_user_size(__gu_val, (ptr), (size), __gu_err); \
(x) = (__force __typeof__(*(ptr)))__gu_val; \