diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-09 19:23:33 -0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2016-11-20 01:01:40 +0000 |
commit | e17dc9d350ba0dfc8662b4fb968c1a32d600d27b (patch) | |
tree | f0997c24743ab0a72bc2d5589c933fb7314ed1b5 /arch | |
parent | f5f944fb34661325716158eaafcd518e16a1f7cc (diff) | |
download | linux-stable-e17dc9d350ba0dfc8662b4fb968c1a32d600d27b.tar.gz linux-stable-e17dc9d350ba0dfc8662b4fb968c1a32d600d27b.tar.bz2 linux-stable-e17dc9d350ba0dfc8662b4fb968c1a32d600d27b.zip |
microblaze: fix __get_user()
commit e98b9e37ae04562d52c96f46b3cf4c2e80222dc1 upstream.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/include/asm/uaccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/uaccess.h b/arch/microblaze/include/asm/uaccess.h index 36ea6fe84990..7a5b1ee22586 100644 --- 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))) { \ |