nios2: fix __get_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 20 Aug 2016 20:39:01 +0000 (16:39 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Sep 2016 21:49:43 +0000 (17:49 -0400)
commit2e29f50ad5e23db37dde9be71410d95d50241ecd
treed084e591e3a0094fd38d5b9175e7e1f88fad4d45
parente33d1f6f72cc82fcfc3d1fb20c9e3ad83b1928fa
nios2: fix __get_user()

a) should not leave crap on fault
b) should _not_ require access_ok() in any cases.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/nios2/include/asm/uaccess.h