projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0cf385
)
microblaze: fix __get_user()
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 9 Sep 2016 23:23:33 +0000
(19:23 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 13 Sep 2016 21:50:17 +0000
(17:50 -0400)
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/microblaze/include/asm/uaccess.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/include/asm/uaccess.h
b/arch/microblaze/include/asm/uaccess.h
index 3a486d3b6f52a1ddc089b26a1d59141e774a969d..826676778094f23a8ced8264b5c448184c0fa006 100644
(file)
--- a/
arch/microblaze/include/asm/uaccess.h
+++ b/
arch/microblaze/include/asm/uaccess.h
@@
-227,7
+227,7
@@
extern long __user_bad(void);
#define __get_user(x, ptr) \
({ \
- unsigned long __gu_val
;
\
+ unsigned long __gu_val
= 0;
\
/*unsigned long __gu_ptr = (unsigned long)(ptr);*/ \
long __gu_err; \
switch (sizeof(*(ptr))) { \