score: fix __get_user/get_user
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 22 Aug 2016 02:13:39 +0000 (22:13 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Sep 2016 21:50:13 +0000 (17:50 -0400)
commitc2f18fa4cbb3ad92e033a24efa27583978ce9600
tree623b1209df74e6777cff21805d4ac71d18009e2c
parentfd2d2b191fe75825c4c7a6f12f3fef35aaed7dd7
score: fix __get_user/get_user

* should zero on any failure
* __get_user() should use __copy_from_user(), not copy_from_user()

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