]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0637b4231e1ae0d3aaaef38384b76261b8e56425
tree623b1209df74e6777cff21805d4ac71d18009e2c
parent2b44d70011bb07b9bb168e8e98f2cfc7bc05c270
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