diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-09 19:23:33 -0400 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2016-10-02 21:15:08 -0400 |
commit | d6dd6bf60fe2abeabc62b59c30f5aee362304734 (patch) | |
tree | a9437369c986ee21f8b117528dc7ca0ce4cef01a /arch/microblaze | |
parent | 9159bc0a9574cb4180e1a5b013e9b8ca2fcf0be6 (diff) |
microblaze: fix __get_user()
[ 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>
Diffstat (limited to 'arch/microblaze')
-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 55873af600ff..0c0a5cfbf79a 100644 --- 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))) { \ |