Skip to content

Commit e98b9e3

Browse files
author
Al Viro
committed
microblaze: fix __get_user()
Cc: [email protected] Signed-off-by: Al Viro <[email protected]>
1 parent d0cf385 commit e98b9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/microblaze/include/asm/uaccess.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ extern long __user_bad(void);
227227

228228
#define __get_user(x, ptr) \
229229
({ \
230-
unsigned long __gu_val; \
230+
unsigned long __gu_val = 0; \
231231
/*unsigned long __gu_ptr = (unsigned long)(ptr);*/ \
232232
long __gu_err; \
233233
switch (sizeof(*(ptr))) { \

0 commit comments

Comments
 (0)