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-05 22:40:20 -0400 |
commit | c352b42eb1718eda1ab4c520eed77e4734ec6196 (patch) | |
tree | 32b9bae7ed08aacafc050233b827a46a0445ecba | |
parent | d31b0dcfb1d1a6ca5b98d3605c5c5318cd9195a4 (diff) | |
download | lwn-c352b42eb1718eda1ab4c520eed77e4734ec6196.tar.gz lwn-c352b42eb1718eda1ab4c520eed77e4734ec6196.zip |
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>
-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 f983626a3c20..336be7716972 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))) { \ |