diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-09 19:20:13 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-13 17:50:16 -0400 |
commit | c90a3bc5061d57e7931a9b7ad14784e1a0ed497d (patch) | |
tree | 0fc4e9dddc83583fb5a9861a6752d68056e30eda /arch/m32r | |
parent | 8f035983dd826d7e04f67b28acf8e2f08c347e41 (diff) | |
download | op-kernel-dev-c90a3bc5061d57e7931a9b7ad14784e1a0ed497d.zip op-kernel-dev-c90a3bc5061d57e7931a9b7ad14784e1a0ed497d.tar.gz |
m32r: fix __get_user()
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/include/asm/uaccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m32r/include/asm/uaccess.h b/arch/m32r/include/asm/uaccess.h index cac7014..6f89821 100644 --- a/arch/m32r/include/asm/uaccess.h +++ b/arch/m32r/include/asm/uaccess.h @@ -219,7 +219,7 @@ extern int fixup_exception(struct pt_regs *regs); #define __get_user_nocheck(x, ptr, size) \ ({ \ long __gu_err = 0; \ - unsigned long __gu_val; \ + unsigned long __gu_val = 0; \ might_fault(); \ __get_user_size(__gu_val, (ptr), (size), __gu_err); \ (x) = (__force __typeof__(*(ptr)))__gu_val; \ |