projects
/
wrapfs-4.13.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d31b0dc
)
microblaze: fix __get_user()
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 9 Sep 2016 23:23:33 +0000
(19:23 -0400)
committer
Sasha Levin
<alexander.levin@verizon.com>
Thu, 6 Oct 2016 02:40:20 +0000
(22:40 -0400)
[ Upstream commit
e98b9e37ae04562d52c96f46b3cf4c2e80222dc1
]
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/microblaze/include/asm/uaccess.h
patch
|
blob
|
history
diff --git
a/arch/microblaze/include/asm/uaccess.h
b/arch/microblaze/include/asm/uaccess.h
index f983626a3c2030927bc27ec73e9e0c977de2b06b..336be7716972bf0a6e7acdf084cae2b05f522bb2 100644
(file)
--- a/
arch/microblaze/include/asm/uaccess.h
+++ b/
arch/microblaze/include/asm/uaccess.h
@@
-226,7
+226,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))) { \