diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-09 19:20:13 -0400 |
|---|---|---|
| committer | Sasha Levin <alexander.levin@verizon.com> | 2016-10-05 22:40:20 -0400 |
| commit | ba08781d8abc610e4094dacec31bbd3a87c506bd (patch) | |
| tree | 5254b49158b510465d3669e1cdd11660724004f1 | |
| parent | f27aa24d83767480930a97be76ff05e624ed81cd (diff) | |
| download | lwn-ba08781d8abc610e4094dacec31bbd3a87c506bd.tar.gz lwn-ba08781d8abc610e4094dacec31bbd3a87c506bd.zip | |
m32r: fix __get_user()
[ Upstream commit c90a3bc5061d57e7931a9b7ad14784e1a0ed497d ]
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/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 84fe7ba53035..c393e8f57cf7 100644 --- a/arch/m32r/include/asm/uaccess.h +++ b/arch/m32r/include/asm/uaccess.h @@ -215,7 +215,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) = (__typeof__(*(ptr)))__gu_val; \ |
