git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
m32r: fix __get_user()
[pandora-kernel.git]
/
arch
/
m32r
/
include
/
asm
/
uaccess.h
diff --git
a/arch/m32r/include/asm/uaccess.h
b/arch/m32r/include/asm/uaccess.h
index
1c7047b
..
a26d28d
100644
(file)
--- 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_sleep(); \
__get_user_size(__gu_val,(ptr),(size),__gu_err); \
(x) = (__typeof__(*(ptr)))__gu_val; \