git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5f944f
)
microblaze: fix __get_user()
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 9 Sep 2016 23:23:33 +0000
(19:23 -0400)
committer
Ben Hutchings
<ben@decadent.org.uk>
Sun, 20 Nov 2016 01:01:40 +0000
(
01:01
+0000)
commit
e98b9e37ae04562d52c96f46b3cf4c2e80222dc1
upstream.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
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
36ea6fe
..
7a5b1ee
100644
(file)
--- a/
arch/microblaze/include/asm/uaccess.h
+++ b/
arch/microblaze/include/asm/uaccess.h
@@
-218,7
+218,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))) { \