summaryrefslogtreecommitdiffstats
path: root/kernel/arch/m32r
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/m32r')
-rw-r--r--kernel/arch/m32r/include/asm/uaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/m32r/include/asm/uaccess.h b/kernel/arch/m32r/include/asm/uaccess.h
index cac7014da..6f8982157 100644
--- a/kernel/arch/m32r/include/asm/uaccess.h
+++ b/kernel/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; \