diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2016-09-09 19:23:33 -0400 |
|---|---|---|
| committer | Jiri Slaby <jslaby@suse.cz> | 2016-09-29 11:14:27 +0200 |
| commit | 2c3d357188859f8ee773aefb40551c3b402b8599 (patch) | |
| tree | 6fa27c3881085c352f50a91521a5c441ae806376 | |
| parent | 8d6f6eb1a459ec5ca3750a3f49d7f6130de6df13 (diff) | |
| download | linux-2c3d357188859f8ee773aefb40551c3b402b8599.tar.gz linux-2c3d357188859f8ee773aefb40551c3b402b8599.tar.bz2 linux-2c3d357188859f8ee773aefb40551c3b402b8599.zip | |
microblaze: fix __get_user()
commit e98b9e37ae04562d52c96f46b3cf4c2e80222dc1 upstream.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
| -rw-r--r-- | arch/microblaze/include/asm/uaccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/uaccess.h b/arch/microblaze/include/asm/uaccess.h index 0aa005703a0b..19f8f415c034 100644 --- a/arch/microblaze/include/asm/uaccess.h +++ b/arch/microblaze/include/asm/uaccess.h @@ -226,7 +226,7 @@ extern long __user_bad(void); #define __get_user(x, ptr) \ ({ \ - unsigned long __gu_val; \ + unsigned long __gu_val = 0; \ /*unsigned long __gu_ptr = (unsigned long)(ptr);*/ \ long __gu_err; \ switch (sizeof(*(ptr))) { \ |
