Skip to content

Commit c90a3bc

Browse files
author
Al Viro
committed
m32r: fix __get_user()
Cc: [email protected] Signed-off-by: Al Viro <[email protected]>
1 parent 8f03598 commit c90a3bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/m32r/include/asm/uaccess.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ extern int fixup_exception(struct pt_regs *regs);
219219
#define __get_user_nocheck(x, ptr, size) \
220220
({ \
221221
long __gu_err = 0; \
222-
unsigned long __gu_val; \
222+
unsigned long __gu_val = 0; \
223223
might_fault(); \
224224
__get_user_size(__gu_val, (ptr), (size), __gu_err); \
225225
(x) = (__force __typeof__(*(ptr)))__gu_val; \

0 commit comments

Comments
 (0)